forked from mobile-shell/mosh
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for ECMA-48 escape sequence for crossed-out/strikethrough
ECMA-48 defines rendition mode 9 as: crossed-out (characters still legible but marked as to be deleted), and mode 29 as the inverse: not crossed out Modern terminals (including xterm, tmux, libvte, etc.) support rendering strikethrough. Further, ncurses since version 6.1 includes the smxx/rmxx user-defined terminal capabilities in the tmux and xterm-basic databases. Note that the new attribute still fits in the eight bits allocated for Renditions::attributes, so there is no need to increase the size of Cell. Signed-off-by: Stanislav Spassov <[email protected]>
- Loading branch information
Stanislav Spassov
committed
Aug 5, 2019
1 parent
481d45d
commit a1cca09
Showing
3 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters