aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-05-04 11:30:48 +0200
committerMarc André Tanner <mat@brain-dump.org>2016-05-04 13:42:05 +0200
commit583045c2d85f30cfebc7a7689c27c797db2d30f4 (patch)
treea1f081ebd3188c17dde47889e268f25bcba71917 /test
parentb9d70d03550b33b40212c98251733e11a6b33ce5 (diff)
downloadvis-583045c2d85f30cfebc7a7689c27c797db2d30f4.tar.gz
vis-583045c2d85f30cfebc7a7689c27c797db2d30f4.tar.xz
vis: re-open stdin as /dev/tty when reaching EOF
This handles (notices the missing - at the end of the command line): $ printf ":new\n" | vis more gracefully. This instructs vis to read commands (not file content) from stdin. Once all input from stdin is consumed we open /dev/tty and start processing regular keyboard input instead.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions