aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2023-06-20 13:59:16 +0000
committerDaniel Eklöf <daniel@ekloef.se>2023-06-20 13:59:16 +0000
commit3a59cbbaa3906da6f9ab73ad949bc598318be7e4 (patch)
treebb5b78a43ef419eb37307cd2a6d5c9b1ad853a21 /scripts
parentadd srcery theme (diff)
render: resize: fix crash when reflowing the alt screen
When doing an interactive resize, and `resize-delay-ms` > 0 (the default), we would crash if the original screen size (i.e. the size before the interactive resize started) was larger than the last window size. For example, if we interactively go from 85 rows to 75, and then non-interactively went from 75 to 80, we’d crash. The resizes had to be made in a single go. One way to trigger this was to start an interactive resize on a floating window, and then *while resizing* toggle the window’s floating mode. Closes #1377
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions