diff options
author | mongo <andmarti@gmail.com> | 2018-10-08 10:32:03 -0300 |
---|---|---|
committer | mongo <andmarti@gmail.com> | 2018-10-08 10:32:03 -0300 |
commit | b16acc5fdb188a17cf74f798ec96abf2a59cece9 (patch) | |
tree | 67d9c65fb748d34bc19a5087d3b945452fd8545f /src/cmds_command.c | |
parent | f1a7635276a04d665a107907c817c9b6bb2d9a84 (diff) |
fix annoying bug because of not resetting inputline_pos to 0 when confirming a command in COMMAND_MODE
Diffstat (limited to 'src/cmds_command.c')
-rw-r--r-- | src/cmds_command.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cmds_command.c b/src/cmds_command.c index 58e4838..46472b2 100644 --- a/src/cmds_command.c +++ b/src/cmds_command.c @@ -990,6 +990,7 @@ void do_commandmode(struct block * sb) { chg_mode('.'); inputline[0]=L'\0'; + inputline_pos = 0; //ADDED 08/10/2018 set_comp(0); // unmark tab completion ui_update(TRUE); } |