Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
strtol(3) can optionally set errno to EINVAL if no conversion could be
performed and FreeBSD (at least) implements thin behaviour. Add an explicit test to detect this situation in Dispatcher::parse_params(). (This behaviour difference is not relevant to other uses of strtol()). This corrects the mishandling of (eg) "CSI m" on FreeBSD.
- Loading branch information
37c86a9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fixes the weird color bleed I experienced this morning with vim on OSX, and also fixes my regular text color in zsh
37c86a9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See also: mobile-shell#110