From: Kevin Lamonte Date: Sun, 22 Mar 2015 02:54:29 +0000 (-0400) Subject: Test commit from within Eclipse X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=8caf0d51b8930199bd593aced424d9e4a8c4c092;p=fanfix-jexer.git Test commit from within Eclipse --- diff --git a/.classpath b/.classpath new file mode 100644 index 0000000..9b07da8 --- /dev/null +++ b/.classpath @@ -0,0 +1,6 @@ + + + + + + diff --git a/.gitignore b/.gitignore index 61a8a45..704dab2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ *.class +bin/** +build/** # Mobile Tools for Java (J2ME) .mtj.tmp/ @@ -20,3 +22,4 @@ hs_err_pid* # Scratch space misc/** +/.project~ diff --git a/.project b/.project new file mode 100644 index 0000000..c0afd85 --- /dev/null +++ b/.project @@ -0,0 +1,17 @@ + + + jexer + + + + + + org.eclipse.jdt.core.javabuilder + + + + + + org.eclipse.jdt.core.javanature + + diff --git a/README.md b/README.md index 4acc525..ee5a265 100644 --- a/README.md +++ b/README.md @@ -110,6 +110,16 @@ ambiguous. This section describes such issues. input (see the ENABLE_LINE_INPUT flag for GetConsoleMode() and SetConsoleMode()). + ECMA48 Backend + -------------- + + - Mouse support for BackendType.ECMA48/XTERM currently requires UTF-8 + coordinates (1005 mode). Terminals that support UTF-8 mouse coordinates + include xterm, rxvt-unicode, gnome-terminal, and konsole. Due to Java's + InputStreamReader requirement of a valid UTF-8 stream, one must assume + the terminal will always generate correct UTF-8 bytes. Mode 1006 (SGR) + will be supported in a future release. + Roadmap @@ -154,6 +164,8 @@ Many tasks remain before calling this version 1.0: 0.0.5: BUG HUNT - TSubMenu keyboard mnemonic not working +- ECMA48Terminal + - Mode 1006 mouse coordinates 0.1.0: BETA RELEASE diff --git a/build.xml b/build.xml index 2641c5a..9bf6d0a 100644 --- a/build.xml +++ b/build.xml @@ -28,7 +28,7 @@ --> - + diff --git a/src/jexer/io/ECMA48Terminal.java b/src/jexer/io/ECMA48Terminal.java index 14ea20f..b496d8c 100644 --- a/src/jexer/io/ECMA48Terminal.java +++ b/src/jexer/io/ECMA48Terminal.java @@ -46,7 +46,6 @@ import java.util.Date; import java.util.List; import java.util.LinkedList; -import jexer.TKeypress; import jexer.bits.Color; import jexer.event.TInputEvent; import jexer.event.TKeypressEvent; @@ -187,14 +186,6 @@ public final class ECMA48Terminal implements Runnable { */ private Object listener; - /** - * When true, the terminal is sending non-UTF8 bytes when reporting mouse - * events. - * - * TODO: Add broken mouse detection back into the reader. - */ - private boolean brokenTerminalUTFMouse = false; - /** * Get the output writer. *