commit | f536dc47c46ded3eb06491e637f9a67e8f3affa1 | [log] [download] |
---|---|---|
author | Nicholas Marriott <nicm@openbsd.org> | Mon Sep 03 08:48:57 2012 +0000 |
committer | Thomas Adam <thomas@xteddy.org> | Tue Sep 04 22:35:52 2012 +0100 |
tree | 85d9ec861710361d936403c82119eb188c1a7b6d | |
parent | d6066552ee606875e95799288819ec9f63cf09c5 [diff] |
If stdin in the client is enable immediately, tmux will eat anything sent to stdin before it is needed, which can be inconvenient (eg pasting commands). Instead, start with stdin disabled and reuse MSG_STDIN from server->client to mean that stdin should be enabled. Based on a diff from Chris Johnsen.