changeset 18:49fc5fba28f3

delay sending cursor move notifications until the host is quiet
author Carl Byington <carl@five-ten-sg.com>
date Thu, 29 May 2014 20:18:13 -0700
parents 02717d15de9b
children b3d0d806cbe2
files src/com/five_ten_sg/connectbot/service/TerminalMonitor.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/service/TerminalMonitor.java	Thu May 29 20:17:16 2014 -0700
+++ b/src/com/five_ten_sg/connectbot/service/TerminalMonitor.java	Thu May 29 20:18:13 2014 -0700
@@ -333,8 +333,8 @@
 
     public void cursorMoved() {
         char[] arg = new char[4];
-        arg[2] = (char)(l & 0x0000ffff);
-        arg[3] = (char)(c & 0x0000ffff);
+        arg[2] = (char)(to_line & 0x0000ffff);
+        arg[3] = (char)(to_column & 0x0000ffff);
         monitorWrite(MONITOR_CMD_CURSORMOVE, arg);
     }