diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-12-15 11:52:14 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-12-15 12:47:13 +0100 |
| commit | 904a7a4abd511426e2430fdd016fca22e84583c2 (patch) | |
| tree | 588dd64b78ad651bb59f870bce0e2bde702868ab /array.c | |
| parent | aa28462c2102e3c24fa8dc4e60436665f53862ea (diff) | |
| download | vis-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 'array.c')
0 files changed, 0 insertions, 0 deletions
