From 5edc4658028b47d975f8685be63f5876a12a3a4f Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Mon, 7 Sep 2009 23:37:48 +0000 Subject: Sync OpenBSD patchset 317: Permit embedded colour and attributes in status-left and status-right using new #[] special characters, for example #[fg=red,bg=blue,blink]. --- tmux.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index d6c58488..f4cc7b39 100644 --- a/tmux.h +++ b/tmux.h @@ -1,4 +1,4 @@ -/* $Id: tmux.h,v 1.436 2009-09-03 21:02:55 tcunha Exp $ */ +/* $Id: tmux.h,v 1.437 2009-09-07 23:37:48 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -1531,6 +1531,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 *, ...); @@ -1538,6 +1541,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 *, -- cgit