Test commit from within Eclipse
authorKevin Lamonte <kevin.lamonte@gmail.com>
Sun, 22 Mar 2015 02:54:29 +0000 (22:54 -0400)
committerKevin Lamonte <kevin.lamonte@gmail.com>
Sun, 22 Mar 2015 02:54:29 +0000 (22:54 -0400)
.classpath [new file with mode: 0644]
.gitignore
.project [new file with mode: 0644]
README.md
build.xml
src/jexer/io/ECMA48Terminal.java

diff --git a/.classpath b/.classpath
new file mode 100644 (file)
index 0000000..9b07da8
--- /dev/null
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+       <classpathentry kind="src" path="src"/>
+       <classpathentry exported="true" kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+       <classpathentry kind="output" path="bin"/>
+</classpath>
index 61a8a45287430656aa568d0ce32d0eab86c20e40..704dab2a094b5c47aa778c64d2f47ab3eb982aa8 100644 (file)
@@ -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 (file)
index 0000000..c0afd85
--- /dev/null
+++ b/.project
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+       <name>jexer</name>
+       <comment></comment>
+       <projects>
+       </projects>
+       <buildSpec>
+               <buildCommand>
+                       <name>org.eclipse.jdt.core.javabuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+       </buildSpec>
+       <natures>
+               <nature>org.eclipse.jdt.core.javanature</nature>
+       </natures>
+</projectDescription>
index 4acc5251ebc7433a151b74a65c60227889c7fe3f..ee5a26543ff6436057ee4784a26be3ef42ec14b4 100644 (file)
--- 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
 
index 2641c5a7dfb75eaf289eb1f46424540066bc15d8..9bf6d0a9aaa5473511f1152b3b257bd6da561dcd 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -28,7 +28,7 @@
 
 -->
 
-<project name="jexer" basedir="." default="run">
+<project name="jexer" basedir="." default="jar">
 
     <property name="src.dir"       value="src"/>
     <property name="resources.dir" value="resources"/>
index 14ea20f6dadff8ab4151222d8fd0f4ccf05326dd..b496d8c2557806c0752b8730e16f658d3fd069df 100644 (file)
@@ -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.
      *