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 /mode-tree.c | |
parent | 379ca54c80837d09dff53ffa7b9ea3b80d87096b (diff) |
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 'mode-tree.c')
-rw-r--r-- | mode-tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mode-tree.c b/mode-tree.c index 645e2ae9..8d210d72 100644 --- a/mode-tree.c +++ b/mode-tree.c @@ -562,7 +562,7 @@ mode_tree_draw(struct mode_tree_data *mtd) w = mtd->width; h = mtd->height; - screen_write_start(&ctx, NULL, s); + screen_write_start(&ctx, s); screen_write_clearscreen(&ctx, 8); if (mtd->line_size > 10) |