delete key

This commit is contained in:
fluxgen 2004-07-15 13:48:54 +00:00
parent 4e243d1599
commit 4179d51829

View file

@ -19,7 +19,7 @@
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
// $Id: TextBox.cc,v 1.9 2004/04/19 18:57:30 fluxgen Exp $
// $Id: TextBox.cc,v 1.10 2004/07/15 13:48:54 fluxgen Exp $
#include "TextBox.hh"
#include "Font.hh"
@ -248,6 +248,9 @@ void TextBox::keyPressEvent(XKeyEvent &event) {
case XK_Right:
cursorForward();
break;
case XK_Delete:
deleteForward();
break;
default:
if (isprint(keychar[0])) {
std::string val;