mirror of
https://gitlab.com/AutumnMeowMeow/jexer
synced 2024-09-19 03:40:20 -06:00
#113 allow jexer.ECMA48.iTerm2Images to work when XTVERSION is not supported
This commit is contained in:
parent
7d0cc6077d
commit
16d27b6f41
1 changed files with 8 additions and 10 deletions
|
@ -1093,16 +1093,14 @@ public class ECMA48Terminal extends LogicalScreen
|
|||
}
|
||||
|
||||
if (!daResponseSeen) {
|
||||
if (xtversionQuery == false) {
|
||||
String str = System.getProperty("jexer.ECMA48.iTerm2Images");
|
||||
// Default to not supporting iTerm2 images.
|
||||
if (str != null) {
|
||||
if (str.equals("false")) {
|
||||
iterm2Images = false;
|
||||
}
|
||||
if (str.equals("true")) {
|
||||
iterm2Images = true;
|
||||
}
|
||||
String str = System.getProperty("jexer.ECMA48.iTerm2Images");
|
||||
// Default to not supporting iTerm2 images.
|
||||
if (str != null) {
|
||||
if (str.equals("false")) {
|
||||
iterm2Images = false;
|
||||
}
|
||||
if (str.equals("true")) {
|
||||
iterm2Images = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue