From 69345248812de6884a0ff061101264d47eae0509 Mon Sep 17 00:00:00 2001 From: Kevin Lamonte Date: Fri, 20 Mar 2015 07:21:15 -0400 Subject: [PATCH] update roadmap --- README.md | 16 ++++++++++++---- src/jexer/TTerminalWindow.java | 7 ++++++- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 058eb6f..ce70771 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 58e60e5..90a95ae 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(); + } } /** -- 2.27.0