mirror of
https://github.com/tmux/tmux.git
synced 2025-11-15 22:51:05 +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
87.5%
Roff
7.1%
Shell
2.7%
Yacc
1.3%
M4
0.8%
Other
0.5%