aboutsummaryrefslogtreecommitdiff
path: root/build.rs
diff options
context:
space:
mode:
authorMichael Brumlow <mbrumlow@gmail.com>2017-01-07 15:47:05 -0600
committerMichael Brumlow <mbrumlow@gmail.com>2017-01-07 15:47:05 -0600
commitb88fd8a23e2a079e84f44044be915cb0186d632b (patch)
treeeb153c19109f0a191a5dcf19203bfbc17ff0b247 /build.rs
parentf4b10a1dbb991861a84c5085a0ee4384d2377448 (diff)
downloadalacritty-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 'build.rs')
0 files changed, 0 insertions, 0 deletions