mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-06 00:41:15 -03:00
Fix a number of bugs found using the warnings generated by earlier patch
darcs-hash:20061019153603-ac50b-4efb1ad1fe2cbe693a921648a0616a3d258d7933.gz
This commit is contained in:
3
input.c
3
input.c
@@ -1297,6 +1297,7 @@ static void add_common_bindings()
|
||||
add_escaped_mapping( name[i], (L"\\C-y"), L"Control-y", L"yank" );
|
||||
add_mapping( name[i], L"", L"Any key", L"self-insert" );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1421,7 +1422,7 @@ int input_init()
|
||||
is_init = 1;
|
||||
|
||||
input_common_init( &interrupt_handler );
|
||||
|
||||
|
||||
if( setupterm( 0, STDOUT_FILENO, 0) == ERR )
|
||||
{
|
||||
debug( 0, _( L"Could not set up terminal" ) );
|
||||
|
||||
Reference in New Issue
Block a user