aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2021-02-22 06:53:04 +0000
committernicm <nicm>2021-02-22 06:53:04 +0000
commit8986c8dfcd0083e5c767b8a247c119a25e1f8093 (patch)
tree6bc5120e2566796a862cadc8140ba9db2fe97b14 /tmux.h
parentb04f8acb7057bda74e30976acedbbd73767e5bdc (diff)
downloadrtmux-8986c8dfcd0083e5c767b8a247c119a25e1f8093.tar.gz
rtmux-8986c8dfcd0083e5c767b8a247c119a25e1f8093.tar.bz2
rtmux-8986c8dfcd0083e5c767b8a247c119a25e1f8093.zip
Move jump commands to grid reader, make them UTF-8 aware, and tidy up,
from Anindya Mukherjee.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index 88c6d30e..4339f6a7 100644
--- a/tmux.h
+++ b/tmux.h
@@ -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 *);