|
From: | Thomas Dickey |
Subject: | Re: CDK - backspace not working |
Date: | Sun, 22 Mar 2009 18:45:35 -0400 (EDT) |
On Sun, 22 Mar 2009, TheLonelyStar wrote:
Hi, I just notice, in my cdk programm and also in all cdk examples, the backspace key does not what it should (int entry widgets in example). It does not delete the last character but (similar to the delete key) the current character.
I just did a quick check on the entry widget, and it appears to be using backspace to delete the previous key. That's consistent with this check in entry.c: if (input == KEY_BACKSPACE) --currPos; Perhaps your keyboard is sending KEY_DC (delete). More details on the terminal and $TERM (and infocmp output) might help. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
[Prev in Thread] | Current Thread | [Next in Thread] |