diff options
Diffstat (limited to 'window-more.c')
-rw-r--r-- | window-more.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/window-more.c b/window-more.c index 28423e1a..84f37d53 100644 --- a/window-more.c +++ b/window-more.c @@ -53,6 +53,16 @@ struct window_more_mode_data { }; void +window_more_add(struct window_pane *wp, const char *fmt, ...) +{ + va_list ap; + + va_start(ap, fmt); + window_more_vadd(wp, fmt, ap); + va_end(ap); +} + +void window_more_vadd(struct window_pane *wp, const char *fmt, va_list ap) { struct window_more_mode_data *data = wp->modedata; |