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
#52 include sixel in DA response
[fanfix.git]
/
src
/
jexer
/
TTerminalWidget.java
diff --git
a/src/jexer/TTerminalWidget.java
b/src/jexer/TTerminalWidget.java
index 8c0082c08d8af431161a324c1a10316840900747..db405cfd72e0b13640f1b9bcded25ae03adf1c5d 100644
(file)
--- a/
src/jexer/TTerminalWidget.java
+++ b/
src/jexer/TTerminalWidget.java
@@
-229,6
+229,9
@@
public class TTerminalWidget extends TScrollableWidget
super(parent, x, y, width, height);
this.closeAction = closeAction;
super(parent, x, y, width, height);
this.closeAction = closeAction;
+ if (closeAction != null) {
+ this.closeAction.data = this;
+ }
String [] fullCommand;
String [] fullCommand;
@@
-307,6
+310,9
@@
public class TTerminalWidget extends TScrollableWidget
super(parent, x, y, width, height);
this.closeAction = closeAction;
super(parent, x, y, width, height);
this.closeAction = closeAction;
+ if (closeAction != null) {
+ this.closeAction.data = this;
+ }
if (System.getProperty("jexer.TTerminal.shell") != null) {
String shell = System.getProperty("jexer.TTerminal.shell");
if (System.getProperty("jexer.TTerminal.shell") != null) {
String shell = System.getProperty("jexer.TTerminal.shell");