mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Don't reset the terminal mode in certain circumstances. Fixes issue in Linux with e.g. echo foo ; ftp
Introduce patch from 9d229cd18c
This commit is contained in:
parent
14bf057c62
commit
b67526aae8
1 changed files with 6 additions and 0 deletions
6
proc.cpp
6
proc.cpp
|
@ -1000,6 +1000,11 @@ static int terminal_return_from_job( job_t *j)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Disabling this per https://github.com/adityagodbole/fish-shell/commit/9d229cd18c3e5c25a8bd37e9ddd3b67ddc2d1b72
|
||||||
|
On Linux, 'cd . ; ftp' prevents you from typing into the ftp prompt
|
||||||
|
See https://github.com/fish-shell/fish-shell/issues/121
|
||||||
|
*/
|
||||||
|
#if 0
|
||||||
/*
|
/*
|
||||||
Restore the shell's terminal modes.
|
Restore the shell's terminal modes.
|
||||||
*/
|
*/
|
||||||
|
@ -1009,6 +1014,7 @@ static int terminal_return_from_job( job_t *j)
|
||||||
wperror( L"tcsetattr" );
|
wperror( L"tcsetattr" );
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue