aboutsummaryrefslogtreecommitdiffstats
path: root/linein.c
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@debian.org>2020-09-02 11:26:17 +0000
committerGitHub <noreply@github.com>2020-09-02 11:26:17 +0000
commit0a7c4b6be7eeaa042852cd97597e299c7a494ce4 (patch)
treea1963a97715b8b7ad5f1861a2da24cc6d94a2b17 /linein.c
parentUpdate ChangeLog (diff)
parentSpace is now entered in URL fields instead of triggering file completion, old... (diff)
downloadw3m-0a7c4b6be7eeaa042852cd97597e299c7a494ce4.tar.gz
w3m-0a7c4b6be7eeaa042852cd97597e299c7a494ce4.zip
Merge pull request #149 from bptato/master
Allow spaces to be entered in URL fields
Diffstat (limited to 'linein.c')
-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();