I want to develop a java cli with jline..I get different Jline version from Internet, but I don't know the difference between them..
My OS is WINDOWS XP SP2.
In Jline09.9 and Jline1.0, it also don't support clean screen. How to config keybind to support clean screen??
The source code WindowsTerminal.java
/**
* Windows doesn't support ANSI codes by default; disable them.
*/
public boolean isANSISupported() {
return false;
}
In jLine0.9.9 and Jline1.0 , clean screen don't work.. https://i.stack.imgur.com/2m71z.jpg
In Jline2.x, it support clean screen, but console appear gibberish when I use array key UP/DOWN/LEFT/RIGHT , INSERT, DELETE, END..
Bad code and strange Character in Jline 2.6 and Jline2.9 When type array key or DELETE,HOME,INSERT key https://i.stack.imgur.com/5A8d2.jpg
I don't know how to config keybind in Jline1.x and Jline2.x through keybinds.properties. And How to config the keybinds.properties ? How to use it??
Could you give some advice or example?