From e46324ced9a6e1fa79ffbd56dfed652a3180b0ca Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Tue, 30 Oct 2012 14:36:37 -0700 Subject: [PATCH] Wrong sense of check for initializing key bindings Fix for https://github.com/fish-shell/fish-shell/pull/373 --- input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input.cpp b/input.cpp index 5845af1a0..4be33ae31 100644 --- a/input.cpp +++ b/input.cpp @@ -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" );