isacikgoz / tldr

fast and interactive tldr client written with go

Home Page:https://isacikgoz.me/tldr/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

andruyd opened this issue · comments

commented

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 +++