use crate::escape::{escape, EscapeSequence};
pub const APC: EscapeSequence = escape('_');
pub const CMD: EscapeSequence = escape('d');
pub const DCS: EscapeSequence = escape('P');
pub const OSC: EscapeSequence = escape(']');
pub const PM: EscapeSequence = escape('^');
pub const SOS: EscapeSequence = escape('X');
pub const ST: EscapeSequence = escape('\\');
#[cfg(test)]
mod tests {
use crate::escape::escape;
#[test]
fn test_apc() {
assert_eq!(super::APC, escape('_'));
}
#[test]
fn test_cmd() {
assert_eq!(super::CMD, escape('d'));
}
#[test]
fn test_dcs() {
assert_eq!(super::DCS, escape('P'));
}
#[test]
fn test_osc() {
assert_eq!(super::OSC, escape(']'));
}
#[test]
fn test_pm() {
assert_eq!(super::PM, escape('^'));
}
#[test]
fn test_sos() {
assert_eq!(super::SOS, escape('X'));
}
#[test]
fn test_st() {
assert_eq!(super::ST, escape('\\'));
}
}