summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/scripts.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/scripts.c b/src/scripts.c
index 63cb6d7b..eb0687e4 100644
--- a/src/scripts.c
+++ b/src/scripts.c
@@ -582,6 +582,7 @@ error_out:
DwbStatus
scripts_eval_key(KeyMap *m, Arg *arg) {
char *json = NULL;
+ CLEAR_COMMAND_TEXT();
if (arg->p == NULL)
json = util_create_json(1, INTEGER, "nummod", dwb.state.nummod);
else