From 4b7dc525b854207e627f5eb9d1fe25111eca4dc1 Mon Sep 17 00:00:00 2001 From: Kevin Ballard Date: Wed, 3 Sep 2014 23:05:48 -0700 Subject: [PATCH] Fix the fix for `commandline -i` in binds --- reader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reader.cpp b/reader.cpp index 2a2c08974..5ec13532f 100644 --- a/reader.cpp +++ b/reader.cpp @@ -3129,7 +3129,7 @@ const wchar_t *reader_readline(int nchars) // only allow commands on the first key; otherwise, we might // have data we need to insert on the commandline that the // commmand might need to be able to see. - c = input_readch(i == 1); + c = input_readch(false); if ((!wchar_private(c)) && (c>31) && (c != 127)) { arr[i]=c;