linenoise
linenoise copied to clipboard
A small self-contained alternative to readline and libedit
Highlight and copy the 10 lines below: This is line 1. This is line 2. This is line 3. This is line 4. This is line 5. This is line...
When a NULL prompt is passed the linenoise() function it will assume that a prompt has already been written. It computes the length of the prompt from cursor position at...
Hi, When switching my application from `libreadline` to `linenoise`, I noticed that I can no longer debug my application from the IntelliJ console (terminal works alright). The line input just...
Allow for jumping the cursor over words with the ctrl-left and ctrl-right keys.
If the prompt contains a color code, the cursor moves far to the right. This is probably due to the fact that `plen` would include each char in the color...
Hello, this library is awesome and I use it in my tools. But I have some problem. In my tool, I use libuv to do the network jobs and use...
Current code doesn't have support for multibyte strings, e.g. strings having unicode characters beyond ASCII range. The column shifts for refreshLine are calculated using strlen() which returns 2 instead of...
Since I saw #186, I would like to post my implementation for utf8 support, too. It supports Emoji and CJK characters which have wide width as well. When the Unicode...
Hi, I needed a win32 port. The attached is not particularly clean, but it works fine for me. Compiled with VS 2005. I did it as a separate file since...