mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-13 05:28:49 +00:00
Wrong sense of check for initializing key bindings
Fix for https://github.com/fish-shell/fish-shell/pull/373
This commit is contained in:
parent
5ea486b20a
commit
e46324ced9
1 changed files with 1 additions and 1 deletions
|
@ -350,7 +350,7 @@ int input_init()
|
|||
update_fish_term256();
|
||||
|
||||
/* If we have no keybindings, add a few simple defaults */
|
||||
if( mapping_list.size() )
|
||||
if( mapping_list.empty() )
|
||||
{
|
||||
input_mapping_add( L"", L"self-insert" );
|
||||
input_mapping_add( L"\n", L"execute" );
|
||||
|
|
Loading…
Reference in a new issue