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
#51 wip
[fanfix.git]
/
src
/
jexer
/
TTerminalWidget.java
diff --git
a/src/jexer/TTerminalWidget.java
b/src/jexer/TTerminalWidget.java
index db405cfd72e0b13640f1b9bcded25ae03adf1c5d..7a93f4e7b32320c69ade2090049146e9200fdef0 100644
(file)
--- a/
src/jexer/TTerminalWidget.java
+++ b/
src/jexer/TTerminalWidget.java
@@
-229,9
+229,6
@@
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;
@@
-310,9
+307,6
@@
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");
@@
-829,7
+823,7
@@
public class TTerminalWidget extends TScrollableWidget
app.invokeLater(new Runnable() {
public void run() {
if (closeAction != null) {
app.invokeLater(new Runnable() {
public void run() {
if (closeAction != null) {
- closeAction.DO();
+ closeAction.DO(
TTerminalWidget.this
);
}
if (getApplication() != null) {
getApplication().postEvent(new TMenuEvent(
}
if (getApplication() != null) {
getApplication().postEvent(new TMenuEvent(