summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2021-02-22 06:53:04 +0000
committernicm <nicm@openbsd.org>2021-02-22 06:53:04 +0000
commitd70f1bef1c9336b96c030cb1e48629cb7fd5697e (patch)
tree0b772bf5d24f4bba48ec9de2d02ff3765d855c93 /usr.bin/tmux/tmux.h
parentSwitch reboot timing to timespec, the better to handle the (diff)
downloadwireguard-openbsd-d70f1bef1c9336b96c030cb1e48629cb7fd5697e.tar.xz
wireguard-openbsd-d70f1bef1c9336b96c030cb1e48629cb7fd5697e.zip
Move jump commands to grid reader, make them UTF-8 aware, and tidy up,
from Anindya Mukherjee.
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index cb1b8a7e49d..92aee93fdd7 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.1092 2021/02/17 07:18:36 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.1093 2021/02/22 06:53:04 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -2589,6 +2589,10 @@ void grid_reader_cursor_next_word(struct grid_reader *, const char *);
void grid_reader_cursor_next_word_end(struct grid_reader *, const char *);
void grid_reader_cursor_previous_word(struct grid_reader *, const char *,
int);
+int grid_reader_cursor_jump(struct grid_reader *,
+ const struct utf8_data *);
+int grid_reader_cursor_jump_back(struct grid_reader *,
+ const struct utf8_data *);
/* grid-view.c */
void grid_view_get_cell(struct grid *, u_int, u_int, struct grid_cell *);