summaryrefslogtreecommitdiffstats
path: root/src/input.c
diff options
context:
space:
mode:
authorAndrés <andmarti@gmail.com>2021-03-16 16:47:52 -0300
committerAndrés <andmarti@gmail.com>2021-03-16 16:47:52 -0300
commitbb3616d75bac0cdc27bd4219b2ddd512f9214cd7 (patch)
treee0809def7a967185ae27e7358828ab8223c30501 /src/input.c
parent4e58a7d2bc242ed58e4385ee8e33e9051d3c5c3d (diff)
EDIT_MODE: added t T dt dT ct cT commands
Diffstat (limited to 'src/input.c')
-rw-r--r--src/input.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/input.c b/src/input.c
index 716be6c..d0a30c1 100644
--- a/src/input.c
+++ b/src/input.c
@@ -348,7 +348,11 @@ void handle_mult(int * cmd_multiplier, struct block * buf, long timeout) {
//if (is_single_command(buf, timeout) == EDITION_CMD)
// copybuffer(buf, lastcmd_buffer); // save stdin buffer content in lastcmd buffer
exec_mult(buf, timeout);
- if (*cmd_multiplier > 1) { *cmd_multiplier = 1; ui_update(TRUE); }
+ if (*cmd_multiplier > 1) {
+ *cmd_multiplier = 1;
+ if (curmode != EDIT_MODE) ui_update(TRUE);
+ }
+
*cmd_multiplier = 0;
return;