From 5fb74180f8ca001d3d0bb256619744d35bec1fa1 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Tue, 17 Mar 2015 00:57:08 +0100 Subject: always enable ^G modifier after tab completion in ^G mode. If there was a rubbed out command line and you tab completed a file name in a string argument (TAB in ^G mode), the immediate editing modifier was automatically reset. This still happens if nothing could be tab completed and you type a few characters and try to complete again (since ^G mode will be reset). If this feature is used often, the user should perhaps define a function key as ^G^I^G. --- src/cmdline.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/cmdline.cpp b/src/cmdline.cpp index 90fed6e..518c28c 100644 --- a/src/cmdline.cpp +++ b/src/cmdline.cpp @@ -366,6 +366,9 @@ Cmdline::process_edit_cmd(gchar key) if (new_chars) insert(new_chars); g_free(new_chars); + + /* may be reset if there was a rubbed out command line */ + modifier_enabled = true; } else { interface.popup_clear(); insert(key); -- cgit v1.2.3