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,