diff options
author | Michael Brumlow <mbrumlow@gmail.com> | 2017-01-07 15:47:05 -0600 |
---|---|---|
committer | Michael Brumlow <mbrumlow@gmail.com> | 2017-01-07 15:47:05 -0600 |
commit | b88fd8a23e2a079e84f44044be915cb0186d632b (patch) | |
tree | eb153c19109f0a191a5dcf19203bfbc17ff0b247 /Alacritty.desktop | |
parent | f4b10a1dbb991861a84c5085a0ee4384d2377448 (diff) | |
download | alacritty-b88fd8a23e2a079e84f44044be915cb0186d632b.tar.gz alacritty-b88fd8a23e2a079e84f44044be915cb0186d632b.zip |
Better bounds checking.
- Remove the use of limit.
- Reduce the number of comparisons.
When using numbers provided by the PTY for subtractions there is a extra
step of ensuring that we won't trigger failure on testing when trying to
subtract form zero.
** NOTE **
This commit fails fails the tmux_git_log test. I am submitting a PR to
talk about the test. I think the test was generated before a few things
were fixed the final test gird still has cells that should have been
scrolled off the screen. Also, comparing output from gnome-terminal
there is no difference. So this PR is here to discuss and gather
information on balding test and discussing the possibility that this test
may be flawed.
** NOTE **
Diffstat (limited to 'Alacritty.desktop')
0 files changed, 0 insertions, 0 deletions