aboutsummaryrefslogtreecommitdiff
path: root/src/cli.rs
diff options
context:
space:
mode:
authorMichael Brumlow <mbrumlow@gmail.com>2017-01-07 18:07:03 -0600
committerMichael Brumlow <mbrumlow@gmail.com>2017-01-07 18:07:03 -0600
commitfb56dcbad94b7606d67cd911ea2c8784bcd8a247 (patch)
tree7b552792d863553d92b36e5c0b5f6b9ea0ffb126 /src/cli.rs
parent61389c1fcd236edbce36ef5d722970978175849c (diff)
downloadr-alacritty-fb56dcbad94b7606d67cd911ea2c8784bcd8a247.tar.gz
r-alacritty-fb56dcbad94b7606d67cd911ea2c8784bcd8a247.tar.bz2
r-alacritty-fb56dcbad94b7606d67cd911ea2c8784bcd8a247.zip
Fixing resize crashes.
Most of the crashes on resize were due to columns and lines being set to zero. This causes all sorts of other checks within the code to ensure these values are greater than zero before running calculations. To avoid this we just need to ensure that lines and columns are some non zero value. This is seems to be what gnome terminal does. I have selected 2 lines and two columns for min terminal size for now.
Diffstat (limited to 'src/cli.rs')
0 files changed, 0 insertions, 0 deletions