aboutsummaryrefslogtreecommitdiff
path: root/alacritty_terminal/src/input.rs
diff options
context:
space:
mode:
authorrbong <rbong@users.noreply.github.com>2019-08-19 15:56:27 -0400
committerChristian Duerr <contact@christianduerr.com>2019-08-19 19:56:27 +0000
commit629ea247cdccc33c6df0037f357ba9be48c7178d (patch)
treef391752e1824971747468e334cf6a38945adde6f /alacritty_terminal/src/input.rs
parenta8692983f522e9bd37911d14dc441391a7ee2f50 (diff)
downloadr-alacritty-629ea247cdccc33c6df0037f357ba9be48c7178d.tar.gz
r-alacritty-629ea247cdccc33c6df0037f357ba9be48c7178d.tar.bz2
r-alacritty-629ea247cdccc33c6df0037f357ba9be48c7178d.zip
Follow xparsecolor spec in escape sequences
Escape sequences in xterm are parsed according to xparsecolor. xparsecolor supports 1, 2, 3, and 4 digit hex colors. Previously, only 2 digits were supported. This also fixes a bug where "fX" was parsed as "0xf", where X is an invalid character. The response to a request for fg/bg must be a valid escape sequence. The current response uses 4-digit hex, which was previously invalid.
Diffstat (limited to 'alacritty_terminal/src/input.rs')
0 files changed, 0 insertions, 0 deletions