super(parent, x, y, width, height);
this.closeAction = closeAction;
- if (closeAction != null) {
- this.closeAction.data = this;
- }
String [] fullCommand;
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");
app.invokeLater(new Runnable() {
public void run() {
if (closeAction != null) {
- closeAction.DO();
+ closeAction.DO(TTerminalWidget.this);
}
if (getApplication() != null) {
getApplication().postEvent(new TMenuEvent(