comparison src/com/five_ten_sg/connectbot/service/TerminalMonitor.java @ 145:4dfa4dd791c1

testing setfield functions
author Carl Byington <carl@five-ten-sg.com>
date Sat, 21 Jun 2014 17:18:06 -0700
parents e66667cc2473
children 1350adb077b1
comparison
equal deleted inserted replaced
144:03af90a2f0a9 145:4dfa4dd791c1
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
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()");