Mercurial > 510Connectbot
changeset 56:556c387889b9 tn5250
start tn5250 integration
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Wed, 11 Jun 2014 14:17:55 -0700 |
parents | 17fd0e489165 |
children | e0c68988fe2e |
files | src/com/five_ten_sg/connectbot/service/TerminalKeyListener.java src/de/mud/terminal/vt320.java |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/service/TerminalKeyListener.java Wed Jun 11 14:04:07 2014 -0700 +++ b/src/com/five_ten_sg/connectbot/service/TerminalKeyListener.java Wed Jun 11 14:17:55 2014 -0700 @@ -496,7 +496,7 @@ return true; case KeyEvent.KEYCODE_ENTER: - buffer.write('\r'); + buffer.keyPressed(vt320.KEY_ENTER, ' ', getStateForBuffer()); metaState &= ~META_TRANSIENT; return true;