diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-09-16 06:20:03 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-09-16 06:20:03 -0700 |
commit | 3733d13790f3ec3da3f1396d01f57d08710982f9 (patch) | |
tree | 035f85e9517068129a0f4d8f057d1eda01b2f169 /genman.txr | |
parent | 171a3adbcf495b75b06b96587ceed770f6e2af3e (diff) | |
download | txr-3733d13790f3ec3da3f1396d01f57d08710982f9.tar.gz txr-3733d13790f3ec3da3f1396d01f57d08710982f9.tar.bz2 txr-3733d13790f3ec3da3f1396d01f57d08710982f9.zip |
linenoise: don't process carriage returns in history.
* linenoise/linenoise.c (lino_hist_load): Don't look for
and overwrite carriage returns with the null character; only
do that for newlines. We already handle embedded carriage
returns just fine by displaying them as ^M.
There is a plan to use these characters for breaking up lines
in an enhanced multi-line mode.
Diffstat (limited to 'genman.txr')
0 files changed, 0 insertions, 0 deletions