Mercurial > 510Connectbot
diff 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 |
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/service/TerminalMonitor.java Fri Jun 20 19:08:47 2014 -0700 +++ b/src/com/five_ten_sg/connectbot/service/TerminalMonitor.java Sat Jun 21 07:30:09 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[] {" "}; buffer.setField(l, c, da); }