]> granicus.if.org Git - procps-ng/commit
watch: treat <ESC>[m as <ESC>[0m
authorJaromir Capik <jcapik@redhat.com>
Wed, 25 Feb 2015 17:40:53 +0000 (18:40 +0100)
committerJaromir Capik <jcapik@redhat.com>
Wed, 25 Feb 2015 17:40:53 +0000 (18:40 +0100)
commita5937e4e943eaf28b378a318566d6968f2b167be
tree95abf8c8e34a22724ec3b0d548654bb1e5eb91a6
parentfe559b5b3b089c9aa2b0816c1ca541b6679d1b6d
watch: treat <ESC>[m as <ESC>[0m

Known terminals call reset in case of empty ANSI sequence.
We should do the same, even when this is not defined by the
ANSI standard.
watch.c