… | |
… | |
845 | (void)ioctl (pty.pty, TIOCSWINSZ, &ws); |
845 | (void)ioctl (pty.pty, TIOCSWINSZ, &ws); |
846 | |
846 | |
847 | #if 0 |
847 | #if 0 |
848 | // TIOCSWINSZ⎈ is supposed to do this automatically and correctly |
848 | // TIOCSWINSZ⎈ is supposed to do this automatically and correctly |
849 | if (cmd_pid) /* force through to the command */ |
849 | if (cmd_pid) /* force through to the command */ |
850 | kill (cmd_pid, SIGWINCH); |
850 | kill (-cmd_pid, SIGWINCH); |
851 | #endif |
851 | #endif |
852 | } |
852 | } |
853 | |
853 | |
854 | /*----------------------------------------------------------------------*/ |
854 | /*----------------------------------------------------------------------*/ |
855 | /* set_fonts () - load and set the various fonts |
855 | /* set_fonts () - load and set the various fonts |