summaryrefslogtreecommitdiffstats
path: root/linenoise/linenoise.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-09-08 20:00:45 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-09-08 20:00:45 -0700
commit0eeb2089e6fa8781d5016d333d837c87e17f4a19 (patch)
treeb4daa7a86a7747c7ea730cb1e013d9eaf41a0d2f /linenoise/linenoise.c
parentf21088bdc23d0195b3396b96c3b4d3b1a2d4b255 (diff)
downloadtxr-0eeb2089e6fa8781d5016d333d837c87e17f4a19.tar.gz
txr-0eeb2089e6fa8781d5016d333d837c87e17f4a19.tar.bz2
txr-0eeb2089e6fa8781d5016d333d837c87e17f4a19.zip
Refinement in linenoise eof/intr handling.
* parser.c (repl): Rather than breaking out of the loop when linenoise indicates lino_eof, break out of the loop for any error not equal to lino_intr. If the termination was due to other than lino_eof, print an error message.
Diffstat (limited to 'linenoise/linenoise.c')
0 files changed, 0 insertions, 0 deletions