aboutsummaryrefslogtreecommitdiff
path: root/utf8parse/src/lib.rs
diff options
context:
space:
mode:
authorChristian Duerr <contact@christianduerr.com>2020-01-29 15:57:04 +0000
committerGitHub <noreply@github.com>2020-01-29 18:57:04 +0300
commite61e9652241a8e85ffdbb6dc6e48375e30ea9d40 (patch)
tree2761469e506ff8ccb91f49ca429118ad3726085b /utf8parse/src/lib.rs
parent7399615d1f94676b99defff0ebe9a385e26d7199 (diff)
downloadr-alacritty-vte-e61e9652241a8e85ffdbb6dc6e48375e30ea9d40.tar.gz
r-alacritty-vte-e61e9652241a8e85ffdbb6dc6e48375e30ea9d40.tar.bz2
r-alacritty-vte-e61e9652241a8e85ffdbb6dc6e48375e30ea9d40.zip
Pass terminator to osc dispatcher
Even though the ST terminator is the only officially supported terminator, some applications still rely on BEL to work properly. Both have been supported historically, however there was no way for the terminal to tell which terminator was used. Since OSC escapes frequently offer the `?` parameter to query for the current format, some applications expect the response terminator to match the request terminator. To make it possible to support this, the osc_dispatcher is now informed when the BEL terminator was used. Since the C1 ST terminator was not yet supported for OSC escapes, support for it has also been added.
Diffstat (limited to 'utf8parse/src/lib.rs')
-rw-r--r--utf8parse/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/utf8parse/src/lib.rs b/utf8parse/src/lib.rs
index c092647..6168e2e 100644
--- a/utf8parse/src/lib.rs
+++ b/utf8parse/src/lib.rs
@@ -3,6 +3,7 @@
//! This module implements a table-driven UTF-8 parser which should
//! theoretically contain the minimal number of branches (1). The only branch is
//! on the `Action` returned from unpacking a transition.
+#![deny(clippy::all, clippy::if_not_else, clippy::enum_glob_use, clippy::wrong_pub_self_convention)]
#![cfg_attr(all(feature = "nightly", test), feature(test))]
#![no_std]