*
* The MIT License (MIT)
*
- * Copyright (C) 2017 Kevin Lamonte
+ * Copyright (C) 2019 Kevin Lamonte
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
&& !keypress.getKey().isCtrl()
) {
// Plain old keystroke, process it
- document.addChar(keypress.getKey().getChar());
+ // TODO: fix document to use ints, not chars
+ document.addChar((char) keypress.getKey().getChar());
alignCursor();
} else {
// Pass other keys (tab etc.) on to TWidget