]> git.eshelyaron.com Git - emacs.git/commit
TTY Support for ECMA-48 strike-through graphic rendition
authorMike Hamrick <mikeh@muppetlabs.com>
Sun, 13 Sep 2020 22:52:24 +0000 (15:52 -0700)
committerEli Zaretskii <eliz@gnu.org>
Fri, 18 Sep 2020 08:31:12 +0000 (11:31 +0300)
commite0e147e10389e407531ca81d0063a11a5716d765
treed6232e980714afee7094cc72199a3872e0f28c64
parent38519caa670dd76bc23235094f07f33003c2be82
TTY Support for ECMA-48 strike-through graphic rendition

* term.c: Support strike-through in capable terminals.
(no_color_bit): Replace unused NC_INVIS with
NC_STRIKE_THROUGH.
(turn_on_face): Output via TS_enter_strike_through_mode
if available.
(turn_off_face): Handle strike-through case.
(tty_capable_p, init_tty): Support strike-through.
* termchar.h (struct tty_display_info): Add field for
strike-through.
* xfaces.c (tty_supports_face_attributes_p, realize_tty_face):
Handle strike-through case.
* dispextern.h: Add TTY_CAP_STRIKE_THROUGH definition.
(struct face): Add field tty_strike_through_p.
etc/NEWS
src/dispextern.h
src/term.c
src/termchar.h
src/xfaces.c