comparison src/com/five_ten_sg/connectbot/service/TerminalMonitor.java @ 142:e66667cc2473

test setfield() cursor movement always sets the field contents
author Carl Byington <carl@five-ten-sg.com>
date Sat, 21 Jun 2014 07:32:20 -0700
parents 13cea57ac61e
children 4dfa4dd791c1
comparison
equal deleted inserted replaced
141:13cea57ac61e 142:e66667cc2473
369 int i; 369 int i;
370 370
371 for (i = 0; i < da.length; i++) { 371 for (i = 0; i < da.length; i++) {
372 da[i] = data[i + offset]; 372 da[i] = data[i + offset];
373 } 373 }
374 if (da.length == 0) da = new char[] {" "}; 374 if (da.length == 0) da = new char[] {' '};
375 buffer.setField(l, c, da); 375 buffer.setField(l, c, da);
376 } 376 }
377 377
378 public synchronized void getField(int l, int c, int len) { 378 public synchronized void getField(int l, int c, int len) {
379 Log.i(TAG, "getField()"); 379 Log.i(TAG, "getField()");