mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Fix bug in read builtin - signal handlers where not correctly set, causiong ^C not to work
darcs-hash:20070201002053-ac50b-b73e22cbeecaeb364974cd2c512efbd517bb90d3.gz
This commit is contained in:
parent
15e0a44fc7
commit
766482d90e
1 changed files with 2 additions and 0 deletions
|
@ -1716,7 +1716,9 @@ static int builtin_read( wchar_t **argv )
|
|||
}
|
||||
|
||||
reader_set_buffer( commandline, wcslen( commandline ) );
|
||||
proc_push_interactive( 1 );
|
||||
line = reader_readline( );
|
||||
proc_pop_interactive();
|
||||
if( line )
|
||||
{
|
||||
buff = wcsdup( line );
|
||||
|
|
Loading…
Reference in a new issue