aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2022-09-28 12:01:09 +0100
committerThomas Adam <thomas@xteddy.org>2022-09-28 12:01:09 +0100
commit9ef854f5a9112a7d50c382dec403432dea2c3579 (patch)
treeb51a7cd48950393ce38a6f4b66c59d348d918a3c /tmux.h
parentf49f92737f859bfeac901f0eb9b1db8249368843 (diff)
parenta10452be2d84d4ff1b9d4e636627b7a9c5a2c42a (diff)
downloadrtmux-9ef854f5a9112a7d50c382dec403432dea2c3579.tar.gz
rtmux-9ef854f5a9112a7d50c382dec403432dea2c3579.tar.bz2
rtmux-9ef854f5a9112a7d50c382dec403432dea2c3579.zip
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index 61eb95d4..2e86e9d4 100644
--- a/tmux.h
+++ b/tmux.h
@@ -668,6 +668,14 @@ struct colour_palette {
#define GRID_LINE_EXTENDED 0x2
#define GRID_LINE_DEAD 0x4
+/* Grid string flags. */
+#define GRID_STRING_WITH_SEQUENCES 0x1
+#define GRID_STRING_ESCAPE_SEQUENCES 0x2
+#define GRID_STRING_TRIM_SPACES 0x4
+#define GRID_STRING_USED_ONLY 0x8
+#define GRID_STRING_EMPTY_CELLS 0x10
+
+/* Cell positions. */
#define CELL_INSIDE 0
#define CELL_TOPBOTTOM 1
#define CELL_LEFTRIGHT 2
@@ -682,6 +690,7 @@ struct colour_palette {
#define CELL_JOIN 11
#define CELL_OUTSIDE 12
+/* Cell borders. */
#define CELL_BORDERS " xqlkmjwvtun~"
#define SIMPLE_BORDERS " |-+++++++++."
#define PADDED_BORDERS " "
@@ -2785,7 +2794,7 @@ void grid_clear_lines(struct grid *, u_int, u_int, u_int);
void grid_move_lines(struct grid *, u_int, u_int, u_int, u_int);
void grid_move_cells(struct grid *, u_int, u_int, u_int, u_int, u_int);
char *grid_string_cells(struct grid *, u_int, u_int, u_int,
- struct grid_cell **, int, int, int, struct screen *);
+ struct grid_cell **, int, struct screen *);
void grid_duplicate_lines(struct grid *, u_int, struct grid *, u_int,
u_int);
void grid_reflow(struct grid *, u_int);