summaryrefslogtreecommitdiffstats
path: root/termios.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-06-16 23:18:48 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-06-16 23:18:48 -0700
commit7947bf8dcdde549456493295f12ab03b5ec852b2 (patch)
tree785254241c5625e390acf84afb19826e3782712d /termios.h
parent5da101a52afd8d99f7ede8ef8fbf61afbd52cb02 (diff)
downloadtxr-7947bf8dcdde549456493295f12ab03b5ec852b2.tar.gz
txr-7947bf8dcdde549456493295f12ab03b5ec852b2.tar.bz2
txr-7947bf8dcdde549456493295f12ab03b5ec852b2.zip
listener: inform linenoise of incomplete syntax.
Multi-line expressions can now be entered just using Enter for line breaks without Ctrl-V. Multi-line mode becomes default. * parser.c (is_balanced_line): New static function. (repl): Install is_balanced_line as enter callback in linenoise object. (parse_init): Default *listener-multi-line-p* variable to t. * txr.1: Documentation about multi-line mode updated.
Diffstat (limited to 'termios.h')
0 files changed, 0 insertions, 0 deletions