jless icon indicating copy to clipboard operation
jless copied to clipboard

Cannot press Escape to cancel entering a command or search input.

Open PaulJuliusMartinez opened this issue 3 years ago • 1 comments

When you press : to enter a command, or / or ? to enter a search input, you cannot press escape to cancel the operation. You must hit Enter to submit your input and get back to the normal viewing experience.

jless uses Rustyline for the readline-esque functionality. I'm unsure if this is simply something that's not supported by Rustyline, or if my input code is doing something weird to mask the escapes.

PaulJuliusMartinez avatar Feb 09 '22 10:02 PaulJuliusMartinez

installed 0.7.1 today, using the ':' key to enter a command does not work at all (no response) on a larger file (~17M), and trying to search with / or ? quits outright. Is there a build I could try with debug output?

revarcline avatar Feb 12 '22 21:02 revarcline