mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 14:03:58 +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 ) );
|
reader_set_buffer( commandline, wcslen( commandline ) );
|
||||||
|
proc_push_interactive( 1 );
|
||||||
line = reader_readline( );
|
line = reader_readline( );
|
||||||
|
proc_pop_interactive();
|
||||||
if( line )
|
if( line )
|
||||||
{
|
{
|
||||||
buff = wcsdup( line );
|
buff = wcsdup( line );
|
||||||
|
|
Loading…
Reference in a new issue