aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2021-04-05 08:43:48 +0000
committernicm <nicm>2021-04-05 08:43:48 +0000
commit5900b164a47689620db962e69f6d040bb82885b0 (patch)
tree9016136aca185c88caac3b7f0a4164272376a388 /tmux.h
parent28cd956729c13f8f66e26d438592df9c9930e7b8 (diff)
downloadrtmux-5900b164a47689620db962e69f6d040bb82885b0.tar.gz
rtmux-5900b164a47689620db962e69f6d040bb82885b0.tar.bz2
rtmux-5900b164a47689620db962e69f6d040bb82885b0.zip
Fix a couple of edge cases with the jump-back-xxx commands, and also
update back-to-indentation to use grid_reader, thereby fixing line wrapping issues. From Anindya Mukherjee, GitHub issue 2633.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index e50f9fe7..0c7636f8 100644
--- a/tmux.h
+++ b/tmux.h
@@ -2583,7 +2583,7 @@ void grid_reader_get_cursor(struct grid_reader *, u_int *, u_int *);
u_int grid_reader_line_length(struct grid_reader *);
int grid_reader_in_set(struct grid_reader *, const char *);
void grid_reader_cursor_right(struct grid_reader *, int, int);
-void grid_reader_cursor_left(struct grid_reader *);
+void grid_reader_cursor_left(struct grid_reader *, int);
void grid_reader_cursor_down(struct grid_reader *);
void grid_reader_cursor_up(struct grid_reader *);
void grid_reader_cursor_start_of_line(struct grid_reader *, int);
@@ -2596,6 +2596,7 @@ 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 *);
+void grid_reader_cursor_back_to_indentation(struct grid_reader *);
/* grid-view.c */
void grid_view_get_cell(struct grid *, u_int, u_int, struct grid_cell *);