Mercurial > 510Connectbot
comparison src/com/five_ten_sg/connectbot/service/TerminalMonitor.java @ 141:13cea57ac61e
test setfield() cursor movement always sets the field contents
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Sat, 21 Jun 2014 07:30:09 -0700 |
parents | cb3b9b660b3d |
children | e66667cc2473 |
comparison
equal
deleted
inserted
replaced
140:4fe73e73d4d7 | 141:13cea57ac61e |
---|---|
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 | 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()"); |