[Geany] vte hazard

Enrico Tröger enrico.troeger at xxxxx
Wed Dec 5 19:11:48 UTC 2007


On Wed, 5 Dec 2007 20:04:56 +0100, Enrico Tröger
<enrico.troeger at 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

-- 
Get my GPG key from http://www.uvena.de/pub.key
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20071205/ec9e599e/attachment.pgp>


More information about the Users mailing list