git://git.nikiroo.be
/
fanfix.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
misc
[fanfix.git]
/
src
/
jexer
/
tterminal
/
ECMA48.java
diff --git
a/src/jexer/tterminal/ECMA48.java
b/src/jexer/tterminal/ECMA48.java
index 361a92f674787168917bda129d66e98460d37ff8..7d03db1372aee15f9508000fbcd9585137ce41de 100644
(file)
--- a/
src/jexer/tterminal/ECMA48.java
+++ b/
src/jexer/tterminal/ECMA48.java
@@
-871,10
+871,10
@@
public class ECMA48 implements Runnable {
case XTERM:
// "I am a VT220" - 7 bit version
if (!s8c1t) {
case XTERM:
// "I am a VT220" - 7 bit version
if (!s8c1t) {
- return "\033[?62;1;6;9;4c";
+ return "\033[?62;1;6;9;4
;22
c";
}
// "I am a VT220" - 8 bit version
}
// "I am a VT220" - 8 bit version
- return "\u009b?62;1;6;9;4c";
+ return "\u009b?62;1;6;9;4
;22
c";
default:
throw new IllegalArgumentException("Invalid device type: " + type);
}
default:
throw new IllegalArgumentException("Invalid device type: " + type);
}
@@
-1806,6
+1806,9
@@
public class ECMA48 implements Runnable {
// Local echo for everything else
printCharacter(keypress.getChar());
}
// Local echo for everything else
printCharacter(keypress.getChar());
}
+ if (displayListener != null) {
+ displayListener.displayChanged();
+ }
}
if ((newLineMode == true) && (keypress.equals(kbEnter))) {
}
if ((newLineMode == true) && (keypress.equals(kbEnter))) {
@@
-6752,17
+6755,20
@@
public class ECMA48 implements Runnable {
}
// 00-17, 19, 1C-1F, 20-7E --> put
}
// 00-17, 19, 1C-1F, 20-7E --> put
- // TODO
if (ch <= 0x17) {
if (ch <= 0x17) {
+ // We ignore all DCS except sixel.
return;
}
if (ch == 0x19) {
return;
}
if (ch == 0x19) {
+ // We ignore all DCS except sixel.
return;
}
if ((ch >= 0x1C) && (ch <= 0x1F)) {
return;
}
if ((ch >= 0x1C) && (ch <= 0x1F)) {
+ // We ignore all DCS except sixel.
return;
}
if ((ch >= 0x20) && (ch <= 0x7E)) {
return;
}
if ((ch >= 0x20) && (ch <= 0x7E)) {
+ // We ignore all DCS except sixel.
return;
}
return;
}