Open xuyangyuio opened 4 months ago
What is your operating system, terminal emulator, and version of lnav?
@xuyangyuio can you provide some more details. Things seem to work for me and others, so it's hard to know what the issue might be.
EDIT: The behavior below can be reproduced by some configuration in readline. Note that this happens in Zsh as well even though it doesn't use readline. It's a separate issue from this one, so I opened another issue for it #1341
I have a similar issue. It's doing something odd.
I press :123456789123456789
nothing appears in the command bar until 23456789
, so :1234567891
aren't visible (same thing if I start with ;
). I press <escape>
and what I see 232 q:123456789123456789
. If I press <enter>
I get ✘ error: unknown command - 123456789123456789
which is to be expected, but the escape button and command bar don't seem to behave properly.
Linux 6.10.8-arch1-1 #1 SMP PREEMPT_DYNAMIC Wed, 04 Sep 2024 15:16:37 +0000 x86_64 GNU/Linux
lnav --version
lnav 0.12.2
# Tried on 2 terminals
echo $TERM
alacritty
echo "$TERM"
xterm-kitty
This behavior can be reproduced. Check comment above.
I am on MacOS Monterey. Tried Iterm2/Kitty, bash/zsh, none of the 4 combinations worked. Nothing happens when \
I'll pile on... I notice the same behaviour here, using 0.12.2. For me, it happens when I shell into my Alpine-based Docker container and run lnav from there. Ctrl-]
works but Esc
does not.
The more irksome behaviour, and possibly related to this issue, is that the :
key makes lnav immediately exit, leaving me unable to enter commands into lnav. 0.12.1 did not exhibit this problem.
TERM is set to xterm-256color
.
ESC key doesn't abort the search or command, only Ctrl-] does.