* Backspace as ^?.
*/
public static final TKeypress kbBackspaceDel = new TKeypress(false,
- 0, (char)0x7F, false, false, false);
+ 0, (char) 0x7F, false, false, false);
// ------------------------------------------------------------------------
// Variables --------------------------------------------------------------
/**
* The character received.
*/
- private char ch;
+ private int ch;
// ------------------------------------------------------------------------
// Constructors -----------------------------------------------------------
* @param ctrl if true, CTRL was pressed with this keystroke
* @param shift if true, SHIFT was pressed with this keystroke
*/
- public TKeypress(final boolean isKey, final int fnKey, final char ch,
+ public TKeypress(final boolean isKey, final int fnKey, final int ch,
final boolean alt, final boolean ctrl, final boolean shift) {
this.isFunctionKey = isKey;
*
* @return the character (only valid if isKey is false)
*/
- public char getChar() {
+ public int getChar() {
return ch;
}