aboutsummaryrefslogtreecommitdiff
path: root/ui-curses.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-11-26 17:19:04 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-11-26 17:19:04 +0100
commitf42a3165e8b527a81865870f74865c1cd99b7196 (patch)
tree5ee1d82bb3e1a42d678f8559bfc4d3061e7e3f2f /ui-curses.c
parentab65ab5d027e97ead372264a6ecfd3ac642299ba (diff)
downloadvis-f42a3165e8b527a81865870f74865c1cd99b7196.tar.gz
vis-f42a3165e8b527a81865870f74865c1cd99b7196.tar.xz
vis: re-open /dev/tty read-writeable
libtermkey's initialization routine tries to write to the underlying file descriptor which fails with EBADF if it is opened read only. This was a problem in the terminal restore code called after a shell command is executed. It should fix the following: $ echo foo | vis - > bar :!/bin/sh exit where before vis would no longer accept any input.
Diffstat (limited to 'ui-curses.c')
0 files changed, 0 insertions, 0 deletions