[Ttssh2-commit] [3310] ウィンドウリフレッシュ制御シーケンス ( dtterm由来 ?) に対応

svnno****@sourc***** svnno****@sourc*****
2009年 4月 15日 (水) 12:40:16 JST


Revision: 3310
          http://svn.sourceforge.jp/view?root=ttssh2&view=rev&rev=3310
Author:   doda
Date:     2009-04-15 12:40:16 +0900 (Wed, 15 Apr 2009)

Log Message:
-----------
ウィンドウリフレッシュ制御シーケンス(dtterm由来?)に対応
  <CSI> 7 t

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


-------------- next part --------------
Modified: trunk/teraterm/teraterm/vtdisp.c
===================================================================
--- trunk/teraterm/teraterm/vtdisp.c	2009-04-13 11:51:36 UTC (rev 3309)
+++ trunk/teraterm/teraterm/vtdisp.c	2009-04-15 03:40:16 UTC (rev 3310)
@@ -3373,5 +3373,8 @@
 	  case WINDOW_LOWER:
 		SetWindowPos(HVTWin, HWND_BOTTOM, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE);
 		break;
+	  case WINDOW_REFRESH:
+	  	InvalidateRect(HVTWin, NULL, FALSE);
+		break;
 	}
 }

Modified: trunk/teraterm/teraterm/vtdisp.h
===================================================================
--- trunk/teraterm/teraterm/vtdisp.h	2009-04-13 11:51:36 UTC (rev 3309)
+++ trunk/teraterm/teraterm/vtdisp.h	2009-04-15 03:40:16 UTC (rev 3310)
@@ -105,6 +105,7 @@
 #define WINDOW_RESTORE  3
 #define WINDOW_RAISE    4
 #define WINDOW_LOWER    5
+#define WINDOW_REFRESH  6
 
 #ifdef __cplusplus
 }

Modified: trunk/teraterm/teraterm/vtterm.c
===================================================================
--- trunk/teraterm/teraterm/vtterm.c	2009-04-13 11:51:36 UTC (rev 3309)
+++ trunk/teraterm/teraterm/vtterm.c	2009-04-15 03:40:16 UTC (rev 3310)
@@ -1767,6 +1767,9 @@
       case 6:
 	DispShowWindow(WINDOW_LOWER);
 	break;
+      case 7:
+	DispShowWindow(WINDOW_REFRESH);
+	break;
       case 8: /* set terminal size */
 	if ((Param[2]<=1) || (NParam<2)) Param[2] = 24;
 	if ((Param[3]<=1) || (NParam<3)) Param[3] = 80;



Ttssh2-commit メーリングリストの案内