notcurses-info hangs in st with the kitty graphics patch
Hi, I'm trying to check if notcurses works with my implementation of the kitty graphics protocol for st (https://github.com/sergei-grechanik/st-graphics). The first issue I see is that notcurses-info freezes on start.
I ran it under script like this: script --log-in st-in.log --log-out st-out.log -c ./notcurses-info, here are the log files:
My speculations: I see that notcurses-info issues a kitty keyboard protocol command and some DECRQM commands before issuing the graphics command: ^[[?u^[[?2026$p^[[?1016$p^[[?1;3;256S^[[?1;3;1024S. st doesn't support any of them, so it responds only to the graphics command, which might confuse notcurses.
-
export | egrep 'LANG|LC_CTYPE|TERM'
declare -x LANG="en_US.UTF-8"
declare -x LC_CTYPE="en_US.UTF-8"
declare -x TERM="st-256color"
declare -x TERM_PROGRAM=""
declare -x TERM_PROGRAM_VERSION="next-3.5"
- notcurses version (available from
notcurses-demo i) Built it from 93a4890f4c2b491cda62fea5110995c6a25691e2 - terminal name + version st-graphics 2d7148e56e9920efc98aef1e714dbf0572486b99
oooh very interesting! thanks for the report. there is one place where we can definitely "hang": if the buffer into which we're writing is full, and the terminal process isn't emptying it (notcurses_render() calls are blocking). if we're hanging in any other guise, we need resolve that. i'll look into this for sure.