[Ttssh2-commit] [7273] dttermのウィンドウ操作シーケンス(16:キャラクターセルサイズ報告)に対応

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2018年 11月 21日 (水) 17:45:33 JST


Revision: 7273
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/7273
Author:   doda
Date:     2018-11-21 17:45:33 +0900 (Wed, 21 Nov 2018)
Log Message:
-----------
dttermのウィンドウ操作シーケンス(16:キャラクターセルサイズ報告)に対応

Modified Paths:
--------------
    trunk/teraterm/teraterm/vtterm.c

-------------- next part --------------
Modified: trunk/teraterm/teraterm/vtterm.c
===================================================================
--- trunk/teraterm/teraterm/vtterm.c	2018-11-21 08:45:29 UTC (rev 7272)
+++ trunk/teraterm/teraterm/vtterm.c	2018-11-21 08:45:33 UTC (rev 7273)
@@ -2463,6 +2463,13 @@
 		}
 		break;
 
+	  case 16: // Report character cell size (pixel)
+		if (ts.WindowFlag & WF_WINDOWREPORT) {
+			len = _snprintf_s_l(Report, sizeof(Report), _TRUNCATE, "6;%d;%dt", CLocale, FontHeight, FontWidth);
+			SendCSIstr(Report, len);
+		}
+		break;
+
 	  case 18: /* get terminal size */
 		if (ts.WindowFlag & WF_WINDOWREPORT) {
 			len = _snprintf_s_l(Report, sizeof(Report), _TRUNCATE, "8;%u;%ut", CLocale,


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