Prevent resizing stdin
This fixes a bug that the parent tty gets resized whenever you launch st through command line. The problem was that ioctl was resizing cmdfd before it gets initialized in ttynew. Since cmdfd is a global variable, its initial value is 0, and consequently stdin was being resized.
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-505-g31b4d79a84