Permalink
Browse files

CHANGE: allow space, when input URL prompt

For example, GOTO shows URL input prompt. At old w3m, we cannot input space-containing URL.

I change this behavior.
  • Loading branch information...
mzp committed Oct 20, 2008
1 parent 97176ba commit 13b7e3bc6dcaf85bcdd5db5ad01b151ff3795d69
Showing with 1 addition and 1 deletion.
  1. +1 −1 linein.c
View
@@ -104,7 +104,7 @@ inputLineHistSearch(char *prompt, char *def_str, int flag, Hist *hist,
use_hist = FALSE;
}
if (flag & IN_URL) {
- cm_mode = CPL_ALWAYS | CPL_URL;
+ cm_mode = CPL_ON | CPL_URL;
}
else if (flag & IN_FILENAME) {
cm_mode = CPL_ALWAYS;

0 comments on commit 13b7e3b

Please sign in to comment.