mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-02 09:40:15 +00:00
[direct] pop kitty keyboard state to ttyfd #2145
This commit is contained in:
parent
1c72516c06
commit
a299c3226d
@ -864,6 +864,9 @@ ncdirect_stop_minimal(void* vnc){
|
||||
ret |= fbuf_finalize(&f, stdout);
|
||||
}
|
||||
if(nc->tcache.ttyfd >= 0){
|
||||
if(nc->tcache.kittykbd){
|
||||
ret |= tty_emit("\x1b[<u", nc->tcache.ttyfd);
|
||||
}
|
||||
const char* cnorm = get_escape(&nc->tcache, ESCAPE_CNORM);
|
||||
if(cnorm && tty_emit(cnorm, nc->tcache.ttyfd)){
|
||||
ret = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user