Skip to content

Conversation

@mhekkel
Copy link

@mhekkel mhekkel commented Dec 24, 2025

The original linenoise code has a basic handler for CSI commands, the result is that pressing keys that generate these commands end up by entering garbage into the buffer. This patch handles CSI commands at least a bit better.

Additionally, it is now possible to move a word at the time by using Control-arrow keys, left and right. I also replaced some code in linenoiseEditDeletePrevWord.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant