Space is now entered in URL fields instead of triggering file completion, old behavior can be toggled via options

This commit is contained in:
bptato
2020-09-01 20:48:04 +02:00
parent 8bc5c9d844
commit 75c54da6ba
3 changed files with 5 additions and 1 deletions

View File

@@ -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();