summaryrefslogtreecommitdiff
path: root/t/30state_pen.test
diff options
context:
space:
mode:
authorJames McCoy <jamessan@debian.org>2023-08-06 15:59:56 -0400
committerJames McCoy <jamessan@debian.org>2023-08-06 15:59:56 -0400
commit199575c9b3aeb8099e8d439a0c88c853f26b48d9 (patch)
tree6ca40bc2f26094dbd98e72ca88df4c63f0cef83c /t/30state_pen.test
parent9f8764749af72ca1e316927b3dcb049084e52ed1 (diff)
New upstream version 0.3.3
Diffstat (limited to 't/30state_pen.test')
-rw-r--r--t/30state_pen.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/t/30state_pen.test b/t/30state_pen.test
index 92cf01d..1a6cd01 100644
--- a/t/30state_pen.test
+++ b/t/30state_pen.test
@@ -123,3 +123,11 @@ PUSH "\e[74m"
PUSH "\e[75m"
?pen small = off
?pen baseline = normal
+
+!DECSTR resets pen attributes
+PUSH "\e[1;4m"
+ ?pen bold = on
+ ?pen underline = 1
+PUSH "\e[!p"
+ ?pen bold = off
+ ?pen underline = 0