*/
public static void main(final String [] args) {
try {
- if (args.length == 0) {
- System.err.printf("USAGE: java -cp jexer.jar jexer.demos.Demo3\n");
- return;
- }
DemoApplication app = new DemoApplication(System.in,
new InputStreamReader(System.in, "UTF-8"),
new PrintWriter(new OutputStreamWriter(System.out, "UTF-8")),
return columns132;
}
- /**
+ /**
* true = reverse video. Set by DECSCNM.
*/
private boolean reverseVideo = false;
return "\011";
}
+ if ((keypress.equalsWithoutModifiers(kbBackTab)) ||
+ (keypress.equals(kbShiftTab))
+ ) {
+ switch (type) {
+ case XTERM:
+ return "\033[Z";
+ default:
+ return "\011";
+ }
+ }
+
// Non-alt, non-ctrl characters
if (!keypress.isFnKey()) {
StringBuilder sb = new StringBuilder();