diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-11-02 00:28:29 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-11-02 00:28:29 +0000 |
| commit | bf9aff056a653bfbad6617a4939fc267139c9043 (patch) | |
| tree | 4f771ce37b06fe14fae9febde0296bc904343f8e /terminal.h | |
| parent | shm: 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.h | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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; |
