aboutsummaryrefslogtreecommitdiff
path: root/alacritty_terminal/src/tty/windows/conpty.rs
diff options
context:
space:
mode:
authorKirill Chibisov <contact@kchibisov.com>2023-06-17 21:55:12 +0000
committerGitHub <noreply@github.com>2023-06-17 21:55:12 +0000
commitee938243586ae5482cf26ff238ddc99e66e1d1c4 (patch)
treefcd0c82bfa317bd26674f7fd508b7faf5e53ba6e /alacritty_terminal/src/tty/windows/conpty.rs
parentcb48ac92071c43a9163329b66b5f74a7fb3dca69 (diff)
downloadalacritty-ee938243586ae5482cf26ff238ddc99e66e1d1c4.tar.gz
alacritty-ee938243586ae5482cf26ff238ddc99e66e1d1c4.zip
Fix the crash when shrinking scrolled terminal
display_offset was adjusted unconditionally, thus it could go beyound the history limits, so clamp it to history like we do in grow_colums. Fixes #6862.
Diffstat (limited to 'alacritty_terminal/src/tty/windows/conpty.rs')
0 files changed, 0 insertions, 0 deletions