linenoise.h


Log

Author Commit Date CI Message
antirez 8087db33 2023-03-27T10:07:44 Multiline: just remember last num of rows, not max. For some reason, the old code was always cleaning the maximum number of rows used so far while editing in multi line mode. Actually we need to clean just the number of rows used by the last line. The old behavior created problems in multiplexing mode, where the line is refreshed at a different row, if the user used linenoiseHide() / show() in order to print something. With the new behavior, all looks fine, so far.
antirez a1d8e181 2023-03-27T09:21:31 Multiplexing: make completion non-blocking as well.
antirez c9d36d06 2023-03-26T22:22:40 Multiplexing: API refactoring, no TTY support.
antirez c9123ec3 2023-03-26T13:23:59 Multiplexing: hide/show current line.
antirez 4261898b 2020-03-02T17:06:38 A few improvements to mask mode.
lifubang 514b09cd 2020-02-29T12:30:55 add mask input mode Signed-off-by: lifubang <lifubang@acmcoder.com>
antirez 2eb49568 2016-04-13T12:19:04 Clear hints after newline.
antirez ae5f793e 2016-04-12T18:08:33 linenoiseFree() API introduced.
antirez 12a8680d 2016-04-12T17:59:33 Hints WIP
antirez 80fd0569 2015-04-13T09:38:43 Version 1.0 Linenoise is used in multiple projects for enough time, let's tag this commit with a version number as requested into issue #88, so that we have an initial reference. Given the nature of the library, the version was also added in the linenoise C and header file as well so that it is easy to realize for people having a copy embedded somewhere if they are using the latest version.
antirez cf1bdf5f 2014-10-07T15:22:48 License file added. However the files linenose.c and linenose.h already had inline licenses.
antirez 828b9dac 2014-09-03T00:02:09 Remove trailing spaces from source code.
antirez f698ec47 2014-03-13T10:08:39 Rename Scan codes -> Key codes. What we print in debug mode using the option (now) called --keycodes are not the scan codes, but the key codes returned by the terminal (a more higher level representation of the keys pressed). This commit fixes the word used.
antirez bbcf9bf2 2014-03-12T23:38:40 Scan codes debugging functionality. ./linenoise_example --scancodes
Nick Gasson fb238590 2014-01-06T11:01:41 Add extern "C" around linenoise.h when compiled as C++
Martin Nowak 9031c808 2014-01-28T00:53:26 use const char * when modification isn't necessary
antirez 16d398e6 2013-02-07T16:06:16 Experimental multi-line editing capabilities.
antirez 02d79351 2011-03-30T17:08:20 switched to two-clause simplified BSD license
antirez 7f669091 2010-12-01T11:11:55 Ctrl-l support to clear the screen. New sequences added documented.
antirez f4508efb 2010-11-30T11:34:06 Pieter Noordhuis copyright notice added, since this was a major contribution. README updated.
Pieter Noordhuis 493a5501 2010-11-29T18:52:55 Minimal framework for autocompletion
antirez ce845468 2010-07-07T18:26:23 Support API to save/load history on file
antirez 9a986552 2010-03-23T13:49:32 now the API to add an history entry has a const argument
antirez 2c54c88c 2010-03-22T17:24:28 API converted to be readline alike. Ctrl-d behavior fixed.
antirez 6de19082 2010-03-21T00:01:52 first commit