Mercurial > 510Connectbot
changeset 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 | 63f0f0267545 |
files | src/com/five_ten_sg/connectbot/service/TerminalMonitor.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/service/TerminalMonitor.java Sat Jun 21 07:30:09 2014 -0700 +++ b/src/com/five_ten_sg/connectbot/service/TerminalMonitor.java Sat Jun 21 07:32:20 2014 -0700 @@ -371,7 +371,7 @@ for (i = 0; i < da.length; i++) { da[i] = data[i + offset]; } - if (da.length == 0) da = new char[] {" "}; + if (da.length == 0) da = new char[] {' '}; buffer.setField(l, c, da); }