mirror of
https://github.com/tmux/tmux.git
synced 2026-08-24 15:41:36 +00:00
1063e5d0e4abda89934b664a71737a32e278b4e3
imsg closes the fd after sending, so dup() STDIN_FILENO before passing it to the parent, otherwise TIOCGWINSZ will fail when the window is resized (that could actually be moved into the server but this is more future-proof and avoids breaking the protocol).
Description
tmux source code
Languages
C
75.9%
Shell
16%
Roff
5.9%
Yacc
1%
M4
0.7%
Other
0.4%