summaryrefslogtreecommitdiffstats
path: root/tests/011/txr-case.txr
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-08-01 14:43:57 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-08-01 14:43:57 -0700
commit4eadfab873ac975326e15e9bdd9405928e0e9cd6 (patch)
tree08f406ad9f34d9f2c8bc6330baf8a78433df599f /tests/011/txr-case.txr
parent0b4a373f69bf7e4684f03d622ee0c1f3be8e8df5 (diff)
downloadtxr-4eadfab873ac975326e15e9bdd9405928e0e9cd6.tar.gz
txr-4eadfab873ac975326e15e9bdd9405928e0e9cd6.tar.bz2
txr-4eadfab873ac975326e15e9bdd9405928e0e9cd6.zip
listener: support multi-line expressions in plain mode.
* linenoise/linenoise.c (linenoise): If we are in noninteractive mode, then do not just read one line and return it. If an enter_callback is defined then keep accumulating lines while the callback indicates incomplete syntax, until EOF occurs or the syntax appears complete. Return the lines glued together, with \n characters replaced by \r, so the line is correctly entered into the history, and the trailing LF obliterated, as usual. * txr.1: Documented new multi-line behavior of plain mode.
Diffstat (limited to 'tests/011/txr-case.txr')
0 files changed, 0 insertions, 0 deletions