summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/input.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2023-08-08 08:21:31 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2023-08-08 08:21:31 +0000
commit11d54d1556304f643d269c36f9382f0c4c42e76b (patch)
tree74fc5df37d8622734497296a75e7f7ead229faa8 /usr.bin/tmux/input.c
parent594d665fcf720506f149d95fe093013f61f3b653 (diff)
Add flag to next-prompt/previous-prompt to go to command output instead,
from Magnus Gross.
Diffstat (limited to 'usr.bin/tmux/input.c')
-rw-r--r--usr.bin/tmux/input.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/tmux/input.c b/usr.bin/tmux/input.c
index 2157dac284f..a00a340f4e6 100644
--- a/usr.bin/tmux/input.c
+++ b/usr.bin/tmux/input.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: input.c,v 1.218 2023/07/13 06:03:48 nicm Exp $ */
+/* $OpenBSD: input.c,v 1.219 2023/08/08 08:21:29 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -2756,6 +2756,9 @@ input_osc_133(struct input_ctx *ictx, const char *p)
case 'A':
gl->flags |= GRID_LINE_START_PROMPT;
break;
+ case 'C':
+ gl->flags |= GRID_LINE_START_OUTPUT;
+ break;
}
}