From: Kevin Lamonte Date: Fri, 20 Mar 2015 11:21:15 +0000 (-0400) Subject: update roadmap X-Git-Tag: fanfix-swing-0.0.1~12^2~13^2~319^2 X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=69345248812de6884a0ff061101264d47eae0509;p=fanfix-swing.git update roadmap --- diff --git a/README.md b/README.md index 058eb6f2..ce707711 100644 --- a/README.md +++ b/README.md @@ -86,9 +86,10 @@ ambiguous. This section describes such issues. --------------- - TTerminalWindow will hang on input from the remote if the - TApplication is exited before closing the TTerminalWindow. This - is due to a Java limitation/interaction between blocking reads - (necessary to get UTF8 translation correct) and file streams. + TApplication is exited before the TTerminalWindow's process has + closed on its own. This is due to a Java limitation/interaction + between blocking reads (which is necessary to get UTF8 translation + correct) and file streams. Roadmap @@ -98,14 +99,22 @@ Many tasks remain before calling this version 1.0: 0.0.2: +- Making TMenu keyboard accelerators active/inactive - AWT: - Blinking cursor + - Block cursor + - Fix mouse artifacts - ECMA48Backend running on socket - TTreeView - TDirectoryList - TFileOpen - Decide on naming convention: getText, getValue, getLabel: one or all of them? +- Refactor: + - TKeypress: + - getCh() --> getChar() + - getAlt/getCtrl/getShift --> isAltDown / isCtrlDown / isShiftDown + - Other boolean getters --> isSomething 0.0.3: @@ -115,7 +124,6 @@ Many tasks remain before calling this version 1.0: - Bugs - TSubMenu keyboard mnemonic not working - - Making TMenu keyboard accelerators active/inactive - TDirectoryList cannot be navigated only with keyboard - TTreeView cannot be navigated only with keyboard - RangeViolation after dragging scrollbar up/down diff --git a/src/jexer/TTerminalWindow.java b/src/jexer/TTerminalWindow.java index 58e60e56..90a95ae1 100644 --- a/src/jexer/TTerminalWindow.java +++ b/src/jexer/TTerminalWindow.java @@ -244,7 +244,12 @@ public class TTerminalWindow extends TWindow { * Handle window close. */ @Override public void onClose() { - emulator.close(); + if (shell != null) { + shell.destroy(); + shell = null; + } else { + emulator.close(); + } } /**