aboutsummaryrefslogtreecommitdiff
path: root/text-util.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-12-15 11:52:14 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-12-15 12:47:13 +0100
commit904a7a4abd511426e2430fdd016fca22e84583c2 (patch)
tree588dd64b78ad651bb59f870bce0e2bde702868ab /text-util.c
parentaa28462c2102e3c24fa8dc4e60436665f53862ea (diff)
downloadvis-904a7a4abd511426e2430fdd016fca22e84583c2.tar.gz
vis-904a7a4abd511426e2430fdd016fca22e84583c2.tar.xz
vis: respect terminating NUL bytes in the input queue
It can happen that the Buffer content used for the input queue becomes <\000> where the NUL byte is intended to terminate the queue, but termkey happily parses it and because it is delimited by < and > on both sides we then interpret it as a key. In input mode this leads to the insertion of a NUL byte which is displayed as ^@. Close #432
Diffstat (limited to 'text-util.c')
0 files changed, 0 insertions, 0 deletions