aboutsummaryrefslogtreecommitdiffstats
path: root/linein.c
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2020-09-01 18:48:04 +0000
committerbptato <nincsnevem662@gmail.com>2020-09-01 18:48:04 +0000
commit75c54da6ba62daac44dcc04c79a1bdf828e401fb (patch)
treea1963a97715b8b7ad5f1861a2da24cc6d94a2b17 /linein.c
parentUpdate ChangeLog (diff)
downloadw3m-75c54da6ba62daac44dcc04c79a1bdf828e401fb.tar.gz
w3m-75c54da6ba62daac44dcc04c79a1bdf828e401fb.zip
Space is now entered in URL fields instead of triggering file completion, old behavior can be toggled via options
Diffstat (limited to '')
-rw-r--r--linein.c2
1 files changed, 1 insertions, 1 deletions
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();