Re: bug in tkui
Brazen <odbrazen-/[email protected]>
| Newsgroups | gmane.comp.games.mud.client.lyntin |
|---|---|
| Message-ID | <[email protected]> |
--- Conan Brink <conanb-mhD/[email protected]> wrote: > The problem is that it pastes the text into the output pane, not the > input pane. I have learned to just be really careful about it. > > When I am using an xterm and I double-click (select word), middle-click > (paste), the selected text is treated as though I typed it. > > When using lyntin, the result is that the selected text is pasted wherever > my mouse is unless I am careful to put it into the input pane first. This is a Tk issue, lyntin actually tries pretty hard to move events from anywhere and recreate them in the input box. For instance if you put the focus on the output window and type it duplicates the keypress event to the input box and then moves the focus there. If you can figure out what kind of event Tk calls a paste it can be added to the list of things that are kludged into the input box. This is just something Tk doesn't do well by itself, so lyntin tries to work around it. -Brazen __________________________________ Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com