On Wed, 5 Dec 2007 20:04:56 +0100, Enrico Tröger enrico.troeger@uvena.de wrote:
Just another idea(probably not better): In the key-press event handler we look for any typed characters (or for a changed cursor position) and if found, we mark the VTE as "dirty" so that commands can't be run until the user marked the VTE as clean again (e.g. by restarting it).
Another way to mark it again as clean could be pressing Enter and Return, so we assume the entered command is executed and we have a clean prompt again.
Regards, Enrico