libcli
libcli copied to clipboard
fix ANSI Escape sequences parsing and add support for line edit
- terminate ESC seq by char c >= 0x40 && c <= 0x7E
- add support for line edit:
- HOME/END
- DELETE
- cursor left/right by word
That's pretty cool. As soon as I can free up some cycles I need to review this for merging. One of the things I've been trying to find time for (and failed for 5 years) it to beef up the code to pickup and use screen size information for editing - especially for editing lines that are longer than the screen is wide.