diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-02-05 08:10:17 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-02-05 08:10:17 -0800 |
commit | 5df2f8a4c30866e140b609733b79eb3832b5bd37 (patch) | |
tree | c25c70094ecbfc2bc95d00bbe78df289d93e58cc /termios.h | |
parent | 2bc4df81e615f31a3ae8e8e81a439ce66d176c3e (diff) | |
download | txr-5df2f8a4c30866e140b609733b79eb3832b5bd37.tar.gz txr-5df2f8a4c30866e140b609733b79eb3832b5bd37.tar.bz2 txr-5df2f8a4c30866e140b609733b79eb3832b5bd37.zip |
linenoise: bugfix: caret notation for NUL.
* linenoise/linenoise.c (sync_data_to_buf): The null character
appears from the stream as 0xDC00. We must test for that and
render it as ^@, counting a a width of two, rather than
sending it to the terminal, counting as width of 1.
Diffstat (limited to 'termios.h')
0 files changed, 0 insertions, 0 deletions