[Ttssh2-commit] [4077] DECERA( 矩形消去 ) 制御シーケンスに対応。

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2010年 8月 31日 (火) 22:23:05 JST


Revision: 4077
          http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=4077
Author:   doda
Date:     2010-08-31 22:23:05 +0900 (Tue, 31 Aug 2010)

Log Message:
-----------
DECERA(矩形消去)制御シーケンスに対応。

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


-------------- next part --------------
Modified: trunk/teraterm/teraterm/vtterm.c
===================================================================
--- trunk/teraterm/teraterm/vtterm.c	2010-08-31 12:10:07 UTC (rev 4076)
+++ trunk/teraterm/teraterm/vtterm.c	2010-08-31 13:23:05 UTC (rev 4077)
@@ -2509,6 +2509,14 @@
   void CSDol(BYTE b)
   {
     switch (b) {
+      case 'z':
+	if (Param[1] < 1 || NParam < 1) Param[1]=1;
+	if (Param[2] < 1 || NParam < 2) Param[2]=1;
+	if (Param[3] < 1 || NParam < 3) Param[3]=1;
+	if (Param[4] < 1 || NParam < 4) Param[4]=1;
+	BuffEraseBox(Param[2]-1, Param[1]-1, Param[4]-1, Param[3]-1);
+	break;
+
       case '}':
 	if ((ts.TermFlag & TF_ENABLESLINE)==0) return;
 	if (StatusLine==0) return;



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