Artifact d41cf85c9b03c4446ad974fbf2f10bcf04730c3f:
- File windows/window.c — part of check-in [e18f3877ae] at 2013-08-17 11:06:12 on branch trunk — Revamp the terminal paste mechanism using toplevel callbacks. I've removed the ad-hoc front-end bodgery in the Windows and GTK ports to arrange for term_paste to be called at the right moments, and instead, terminal.c itself deals with knowing when to send the next chunk of pasted data using a combination of timers and the new top-level callback mechanism. As a happy side effect, it's now all in one place so I can actually understand what it's doing! It turns out that what all that confusing code was up to is: send a line of pasted data, and delay sending the next line until either a CR or LF is returned from the server (typically indicating that the pasted text has been received and echoed) or 450ms elapse, whichever comes first. (user: simon size: 159386)
A hex dump of this file is not available. Please download the raw binary file and generate a hex dump yourself.