import java.util.List;
import java.util.LinkedList;
-import jexer.TKeypress;
import jexer.bits.Color;
import jexer.event.TInputEvent;
import jexer.event.TKeypressEvent;
*/
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.
*
boolean ctrl = false;
boolean alt = false;
boolean shift = false;
- char keyCh = ch;
- TKeypress key;
// System.err.printf("state: %s ch %c\r\n", state, ch);
readBuffer = new char[readBuffer.length * 2];
}
- int rc = input.read(readBuffer, 0, n);
+ int rc = input.read(readBuffer, 0, readBuffer.length);
// System.err.printf("read() %d", rc); System.err.flush();
if (rc == -1) {
// This is EOF