• R/O
  • SSH
  • HTTPS

ttssh2: Commit


Commit MetaInfo

Revision7497 (tree)
Time2019-03-18 23:01:46
Authorzmatsuo

Log Message

patch(Ttssh2-devel 3599)

Change Summary

Incremental Difference

--- trunk/teraterm/teraterm/teraterm.cpp (revision 7496)
+++ trunk/teraterm/teraterm/teraterm.cpp (revision 7497)
@@ -305,6 +305,7 @@
305305
306306 if (Busy == 0) {
307307 if (IsUpdateTerm()) {
308+ UpdateTerm();
308309 Busy++;
309310 }
310311 }
--- trunk/teraterm/teraterm/vtdisp_delay.c (revision 7496)
+++ trunk/teraterm/teraterm/vtdisp_delay.c (revision 7497)
@@ -88,8 +88,8 @@
8888 {
8989 OutputDebugPrintf("DispUpdateScroll\n");
9090 UpdateInfo.Type = WHOLE_TERM;
91- UpdateInfo.NewOrgX += NewOrgX;
92- UpdateInfo.NewOrgY += NewOrgY;
91+ UpdateInfo.NewOrgX = NewOrgX;
92+ UpdateInfo.NewOrgY = NewOrgY;
9393 dScroll = 0;
9494 }
9595
@@ -157,7 +157,7 @@
157157 InvalidateRect(HVTWin, NULL, FALSE);
158158 } else
159159 #endif
160- if (UpdateInfo.Type == WHOLE_TERM) {
160+ if (UpdateInfo.Type == WHOLE_TERM || NewOrgY != WinOrgY) {
161161 if ((now - UpdateInfo.UpdateTick) < DISPLAY_INTERVAL) {
162162 return;
163163 }
@@ -169,6 +169,8 @@
169169
170170 WinOrgX = NewOrgX;
171171 WinOrgY = NewOrgY;
172+ UpdateInfo.NewOrgX = 0;
173+ UpdateInfo.NewOrgY = 0;
172174 UpdateInfo.UpdateTick = now;
173175 UpdateInfo.Type = NONE;
174176
Show on old repository browser