aboutsummaryrefslogtreecommitdiff
path: root/terminal.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-11-02 00:28:29 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-11-02 00:28:29 +0000
commitbf9aff056a653bfbad6617a4939fc267139c9043 (patch)
tree4f771ce37b06fe14fae9febde0296bc904343f8e /terminal.h
parentshm: automatic buffer purging is now delayed one cycle (diff)
Revert "render: last_buf may point to a free:d buffer"
This reverts commit 4d3251a93b4ba309d573aca6ff397df44c4ff760.
Diffstat (limited to 'terminal.h')
-rw-r--r--terminal.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/terminal.h b/terminal.h
index 4962aae4..11571519 100644
--- a/terminal.h
+++ b/terminal.h
@@ -276,11 +276,7 @@ struct terminal {
struct cell *cell; /* For easy access to content */
} last_cursor;
- struct {
- struct buffer *buf; /* Buffer we rendered to last time */
- int width;
- int height;
- } last_shm;
+ struct buffer *last_buf; /* Buffer we rendered to last time */
bool was_flashing; /* Flash was active last time we rendered */
bool was_searching;
} render;