From 75c54da6ba62daac44dcc04c79a1bdf828e401fb Mon Sep 17 00:00:00 2001 From: bptato Date: Tue, 1 Sep 2020 20:48:04 +0200 Subject: Space is now entered in URL fields instead of triggering file completion, old behavior can be toggled via options --- linein.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linein.c') diff --git a/linein.c b/linein.c index d8f9023..5800271 100644 --- a/linein.c +++ b/linein.c @@ -184,7 +184,7 @@ inputLineHistSearch(char *prompt, char *def_str, int flag, Hist *hist, cm_clear = TRUE; cm_disp_clear = TRUE; if (!i_quote && - (((cm_mode & CPL_ALWAYS) && (c == CTRL_I || c == ' ')) || + (((cm_mode & CPL_ALWAYS) && (c == CTRL_I || (space_autocomplete && c == ' ')) || ((cm_mode & CPL_ON) && (c == CTRL_I)))) { if (emacs_like_lineedit && cm_next) { _dcompl(); -- cgit v1.2.3