* src/subshell.c (resize_subshell): Do not try to resize the subshell tty
if the subshell is not running.
Этот коммит содержится в:
родитель
9395167ddd
Коммит
19b2b16ca5
@ -1,3 +1,8 @@
|
|||||||
|
2006-05-08 Pavel Tsekov <ptsekov@gmx.net>
|
||||||
|
|
||||||
|
* subshell.c (resize_subshell): Do not try to resize the subshell tty
|
||||||
|
if the subshell is not running.
|
||||||
|
|
||||||
2006-04-13 Leonard den Ottolander <leonard den ottolander nl>
|
2006-04-13 Leonard den Ottolander <leonard den ottolander nl>
|
||||||
|
|
||||||
* cons.handler.c (handle_console_linux): Remove redundant close() calls
|
* cons.handler.c (handle_console_linux): Remove redundant close() calls
|
||||||
|
@ -660,6 +660,9 @@ static int resize_tty (int fd)
|
|||||||
/* Resize subshell_pty */
|
/* Resize subshell_pty */
|
||||||
void resize_subshell (void)
|
void resize_subshell (void)
|
||||||
{
|
{
|
||||||
|
if (use_subshell == 0)
|
||||||
|
return;
|
||||||
|
|
||||||
resize_tty (subshell_pty);
|
resize_tty (subshell_pty);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user