mirror of
https://github.com/troglobit/editline.git
synced 2025-09-18 19:10:09 +08:00

1. Simplify code in reposition() 2. Add tty_push() for commonly used operation, reduce code duplication. 3. Fix left() so that it treats 8-bit chars as one when not in meta-mode. 4. Replace isalnum() with homegrown implementation that understands 8-bit and control chars. 5. Fix ceol() before introducing ANSI "kill-to-end-of-line" escape code. This actually seems to work, previously I erronesouly used an UTF-8 terminal for testing. Which of course broke the test on an ISO-8859-1 [only] terminal.