mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-23 11:48:39 +08: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
@ -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…
x
Reference in New Issue
Block a user