[ttssh2-commit] [10273] PC Style 16 色モードの明るい色表示ができていなかった

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2022年 9月 19日 (月) 01:06:51 JST


Revision: 10273
          https://osdn.net/projects/ttssh2/scm/svn/commits/10273
Author:   zmatsuo
Date:     2022-09-19 01:06:50 +0900 (Mon, 19 Sep 2022)
Log Message:
-----------
PC Style 16 色モードの明るい色表示ができていなかった

- 改行を削除

Modified Paths:
--------------
    trunk/tests/color-sgr-decscnm.pl

-------------- next part --------------
Modified: trunk/tests/color-sgr-decscnm.pl
===================================================================
--- trunk/tests/color-sgr-decscnm.pl	2022-09-18 16:06:30 UTC (rev 10272)
+++ trunk/tests/color-sgr-decscnm.pl	2022-09-18 16:06:50 UTC (rev 10273)
@@ -40,7 +40,7 @@
 		},
 		{
 			Enter => "\x1b[0m",
-			Str => "https://ttssh2.osdn.jp/  SGR 0(Normal) + URL string\n",
+			Str => "https://ttssh2.osdn.jp/  SGR 0(Normal) + URL string",
 		},
 		{
 			Enter => "\x1b[0m\x1b[31m",
@@ -181,7 +181,8 @@
 		print " FG: SGR 30..37 m  BG: SGR 40..47 m\n";
 		for (my $f = 0; $f < 8; $f++) {
 			for (my $b = 0; $b < 8; $b++) {
-				print "\x1b[1m";
+				print "\x1b[1m";	# Bold (SGR 1) bright color fore
+				print "\x1b[5m";	# Blink (SGR 5) bright color back
 				printf("\x1b[%d;%dm %3d/%3d ", $f + 30, $b + 40, $f + 30, $b + 40);
 			}
 			print "\x1b[0m";


ttssh2-commit メーリングリストの案内
Back to archive index