diff options
Diffstat (limited to 'src/textadept.c')
-rw-r--r-- | src/textadept.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/textadept.c b/src/textadept.c index 8695bc0f..eb96e274 100644 --- a/src/textadept.c +++ b/src/textadept.c @@ -549,6 +549,7 @@ static int focus_command_entry(lua_State *L) { gtk_widget_hide(command_entry), gtk_widget_grab_focus(focused_view); #elif CURSES command_entry_focused = !command_entry_focused; + if (!command_entry_focused) SS(command_entry, SCI_SETFOCUS, 0, 0); focus_view(command_entry_focused ? command_entry : focused_view); #endif return 0; |