[Ttssh2-commit] [5503] CHA/ HPA 制御シーケンスで画面右端に移動できないのを修正。

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2014年 3月 7日 (金) 11:53:53 JST


Revision: 5503
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/5503
Author:   doda
Date:     2014-03-07 11:53:53 +0900 (Fri, 07 Mar 2014)
Log Message:
-----------
CHA/HPA 制御シーケンスで画面右端に移動できないのを修正。

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

-------------- next part --------------
Modified: trunk/teraterm/teraterm/vtterm.c
===================================================================
--- trunk/teraterm/teraterm/vtterm.c	2014-03-07 02:48:39 UTC (rev 5502)
+++ trunk/teraterm/teraterm/vtterm.c	2014-03-07 02:53:53 UTC (rev 5503)
@@ -1679,8 +1679,8 @@
 {
 	if (Param[1]<1)
 		Param[1] = 1;
-	else if (Param[1] > NumOfColumns-1)
-		Param[1] = NumOfColumns-1;
+	else if (Param[1] > NumOfColumns)
+		Param[1] = NumOfColumns;
 
 	Param[1]--;
 



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