diff options
author | nicm <nicm> | 2020-05-16 15:34:08 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-05-16 15:34:08 +0000 |
commit | 9605b080f6c942ff2e51a2ba538cccc91c91c161 (patch) | |
tree | a2cb5c229410d3c8b749a1e0da2716494c08445c /server-fn.c | |
parent | 379ca54c80837d09dff53ffa7b9ea3b80d87096b (diff) | |
download | rtmux-9605b080f6c942ff2e51a2ba538cccc91c91c161.tar.gz rtmux-9605b080f6c942ff2e51a2ba538cccc91c91c161.tar.bz2 rtmux-9605b080f6c942ff2e51a2ba538cccc91c91c161.zip |
Do not hoke into struct window_pane from the tty code and instead set
everything up in tty_ctx. Provide a way to initialize the tty_ctx from a
callback and use it to let popups draw directly through input_parse in
the same way as panes do, rather than forcing a full redraw on every
change.
Diffstat (limited to 'server-fn.c')
-rw-r--r-- | server-fn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server-fn.c b/server-fn.c index da1371ae..fde1d8e8 100644 --- a/server-fn.c +++ b/server-fn.c @@ -318,7 +318,7 @@ server_destroy_pane(struct window_pane *wp, int notify) if (notify) notify_pane("pane-died", wp); - screen_write_start(&ctx, wp, &wp->base); + screen_write_start_pane(&ctx, wp, &wp->base); screen_write_scrollregion(&ctx, 0, screen_size_y(ctx.s) - 1); screen_write_cursormove(&ctx, 0, screen_size_y(ctx.s) - 1, 0); screen_write_linefeed(&ctx, 1, 8); |