diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-09-04 20:19:40 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-09-04 20:19:40 -0700 |
commit | d8811fb0200792abc363d9e0ff1ceea44617ec71 (patch) | |
tree | d0c0f6ebe0848efe5a2f9a6bcf2ad2f5ac4b2533 /lisplib.c | |
parent | 1b2c4c3b5d40fdea424731007aab7fd97d107816 (diff) | |
download | txr-d8811fb0200792abc363d9e0ff1ceea44617ec71.tar.gz txr-d8811fb0200792abc363d9e0ff1ceea44617ec71.tar.bz2 txr-d8811fb0200792abc363d9e0ff1ceea44617ec71.zip |
linenoise: tty read fix.
* linenoise/linenoise.c (edit): If 0 bytes is read from the
tty for any reason, return -1 so that the linenoise function
will return a null pointer rather than a blank line.
Diffstat (limited to 'lisplib.c')
0 files changed, 0 insertions, 0 deletions