aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-09-07 10:49:32 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-09-07 10:49:32 +0000
commite97006b102dd274dd8cc70c2aee13f6b09f69a41 (patch)
treee251c8fe3ba0b57ad365807ba4fa3a06460ccc78 /tmux.h
parentffab22bb35a990a72f3a13c9729680c01e23a727 (diff)
downloadrtmux-e97006b102dd274dd8cc70c2aee13f6b09f69a41.tar.gz
rtmux-e97006b102dd274dd8cc70c2aee13f6b09f69a41.tar.bz2
rtmux-e97006b102dd274dd8cc70c2aee13f6b09f69a41.zip
Permit embedded colour and attributes in status-left and status-right using new
#[] special characters, for example #[fg=red,bg=blue,blink].
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index 49851ddf..d2004bdd 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1533,6 +1533,9 @@ char *grid_view_string_cells(struct grid *, u_int, u_int, u_int);
void screen_write_start(
struct screen_write_ctx *, struct window_pane *, struct screen *);
void screen_write_stop(struct screen_write_ctx *);
+size_t printflike2 screen_write_cstrlen(int, const char *, ...);
+void printflike5 screen_write_cnputs(struct screen_write_ctx *,
+ ssize_t, struct grid_cell *, int, const char *, ...);
size_t printflike2 screen_write_strlen(int, const char *, ...);
void printflike3 screen_write_puts(struct screen_write_ctx *,
struct grid_cell *, const char *, ...);
@@ -1540,6 +1543,8 @@ void printflike5 screen_write_nputs(struct screen_write_ctx *,
ssize_t, struct grid_cell *, int, const char *, ...);
void screen_write_vnputs(struct screen_write_ctx *,
ssize_t, struct grid_cell *, int, const char *, va_list);
+void screen_write_parsestyle(
+ struct grid_cell *, struct grid_cell *, const char *);
void screen_write_putc(
struct screen_write_ctx *, struct grid_cell *, u_char);
void screen_write_copy(struct screen_write_ctx *,