summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/screen-write.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2019-12-12 11:39:57 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2019-12-12 11:39:57 +0000
commit26afc37a415118f304bd257969301773a0bc74fb (patch)
treeb646def5c74316209bf3eeb049cf42a9488bb607 /usr.bin/tmux/screen-write.c
parent7ff24f14fc5aa2876f20cae2c52edf2cbb12951a (diff)
Rewrite the code for reading and writing files. Now, if the client is
not attached, the server process asks it to open the file, similar to how works for stdin, stdout, stderr. This makes special files like /dev/fd/X work (used by some shells). stdin, stdout and stderr and control mode are now just special cases of the same mechanism. This will also make it easier to use for other commands that read files such as source-file.
Diffstat (limited to 'usr.bin/tmux/screen-write.c')
0 files changed, 0 insertions, 0 deletions