diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-08-21 15:56:41 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-08-21 15:56:41 +0000 |
| commit | c1903f552209eb130d0ac671ca7b63eb4f928636 (patch) | |
| tree | 7920f37e81c8c7099dd73400574ddec21c237ac1 | |
| parent | csi: move 256-color table into the terminal struct (diff) | |
render: multiply width/height with *new* scale factor, not old
| -rw-r--r-- | render.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -706,8 +706,8 @@ render_resize(struct terminal *term, int width, int height) scale = 1; } - width *= term->scale; - height *= term->scale; + width *= scale; + height *= scale; if (width == 0 && height == 0) { /* Assume we're not fully up and running yet */ |
