summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2018-05-18 06:28:24 -0700
committerKaz Kylheku <kaz@kylheku.com>2018-05-18 06:28:24 -0700
commitc77dabaf277f663b9530038e8e897f5a3e53a8b0 (patch)
treed0658789afb654bb81f39e89d837b2dbc886095c /txr.1
parentb13a869dddb06218151f00a0abec077fff9cdd4a (diff)
downloadtxr-c77dabaf277f663b9530038e8e897f5a3e53a8b0.tar.gz
txr-c77dabaf277f663b9530038e8e897f5a3e53a8b0.tar.bz2
txr-c77dabaf277f663b9530038e8e897f5a3e53a8b0.zip
listener: Cygnal fix.
The standard input and output streams are in text mode on Cygnal, which interferes with the listener, because it draws input from streams. Let's hack it by Cygwin-specific code in linenoise. * linenoise/linenoise.c (struct lino_state): New members orig_imode and orig_omode, on Cygwin/Cygnal only. (enable_raw_mode): As part of enabling raw mode, use the Cygwin setmode function to put both descriptors in binary mode, saving their previous mode. (disable_raw_mode): Revert the previous mode of both descriptors, in reverse order in case they are the same descriptor.
Diffstat (limited to 'txr.1')
0 files changed, 0 insertions, 0 deletions