isacikgoz / tldr

fast and interactive tldr client written with go
https://isacikgoz.me/tldr/
MIT License
1.36k stars 48 forks source link

Unexpected Escape Sequence: ['\x1b' 'O']% #14

Closed andruyd closed 5 years ago

andruyd commented 5 years ago

Any of the navigation keys will give me that message:Unexpected Escape Sequence: ['\x1b' 'O']% . I've reinstalled it and tried it on two shells(bash, zsh) and terminal (tilix, urxvt, xfce4-terminal). I only get this escape message on tldr++.

I ran strace and this is what I got for the last lines:

ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0 ioctl(0, SNDCTL_TMR_START or TCSETS, {B38400 opost -isig -icanon -echo ...}) = 0 write(1, "\33[?25l", 6) = 6 read(0, "\33OB", 4096) = 3 futex(0xf724f0, FUTEX_WAKE_PRIVATE, 1) = 1 futex(0xf723f0, FUTEX_WAKE_PRIVATE, 1) = 1 write(1, "\33[?25h", 6) = 6 ioctl(0, SNDCTL_TMR_START or TCSETS, {B38400 opost isig icanon echo ...}) = 0 write(1, "\33[?7h", 5) = 5 write(1, "Unexpected Escape Sequence: ['\x"..., 40Unexpected Escape Sequence: ['\x1b' 'O']) = 40 exit_group(0) = ? +++ exited with 0 +++