aboutsummaryrefslogtreecommitdiff
path: root/status.c
diff options
context:
space:
mode:
Diffstat (limited to 'status.c')
-rw-r--r--status.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/status.c b/status.c
index c42dc896..d700f2c7 100644
--- a/status.c
+++ b/status.c
@@ -854,6 +854,11 @@ status_prompt_key(struct client *c, int key)
c->flags |= CLIENT_STATUS;
}
break;
+ case MODEKEYEDIT_DELETELINE:
+ *c->prompt_buffer = '\0';
+ c->prompt_index = 0;
+ c->flags |= CLIENT_STATUS;
+ break;
case MODEKEYEDIT_DELETETOENDOFLINE:
if (c->prompt_index < size) {
c->prompt_buffer[c->prompt_index] = '\0';