diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-09-26 16:39:49 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-09-26 16:39:49 +0000 |
| commit | 2d6369482e231e8d2cdfbf567e4b651a4c71f763 (patch) | |
| tree | f68e923a58041654c5276234e091fde5e29e9890 /scripts | |
| parent | PKGBUILD: explicitly set --term=xterm (diff) | |
main: initialize scale to '1'
This ensures we always have a valid (but possibly incorrect) scaling
value. This allows us to simplify code that uses the scale - it
doesn't have to verify the scale if valid.
Furthermore, since render_resize() is the function that actually
updates term->scale, make sure to call it *before* updating the
cursor (otherwise, the cursor will use the old scaling value).
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
