comparison src/com/five_ten_sg/connectbot/service/TerminalMonitor.java @ 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
comparison
equal deleted inserted replaced
17:02717d15de9b 18:49fc5fba28f3
331 to_column = c; 331 to_column = c;
332 } 332 }
333 333
334 public void cursorMoved() { 334 public void cursorMoved() {
335 char[] arg = new char[4]; 335 char[] arg = new char[4];
336 arg[2] = (char)(l & 0x0000ffff); 336 arg[2] = (char)(to_line & 0x0000ffff);
337 arg[3] = (char)(c & 0x0000ffff); 337 arg[3] = (char)(to_column & 0x0000ffff);
338 monitorWrite(MONITOR_CMD_CURSORMOVE, arg); 338 monitorWrite(MONITOR_CMD_CURSORMOVE, arg);
339 } 339 }
340 340
341 public synchronized void testChanged() { 341 public synchronized void testChanged() {
342 if (modified) { 342 if (modified) {