Differences From Artifact [5b50db4b82]:
- File window.c — part of check-in [aea9f1c40e] at 1999-11-22 04:07:24 on branch trunk — Cleanups to remove warnings for GNU/mingw32 compilation (user: simon size: 46887)
To Artifact [f7c8ece55a]:
- File window.c — part of check-in [763c0e4547] at 1999-11-30 04:52:07 on branch trunk — Robert de Bath's multi-purpose patch, slightly modified. - ^E answerback is now `PuTTY'. - The framework is now in place for the scrollback to reset to bottom on display _or_ keyboard events _or_ both. An actual configurable option isn't yet present, but most of the code is in place. - Try to deal with the problems where incoming data gets dropped after decoding but before display. - Scrollback behaviour has changed: instead of keying it off `scroll' versus `delete top line', things now go into the scrollback from _either_ of those but only if the primary screen is selected. Should fix problems with `less' and talkers. - must_update variable has gone because rdb correctly observed that it didn't seem to be doing a great deal :-) (user: simon size: 47204)
| ︙ | |||
306 307 308 309 310 311 312 313 314 315 316 317 318 319 | 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 | + + + + + |
/*
* Set up the input and output buffers.
*/
inbuf_reap = inbuf_head = 0;
outbuf_reap = outbuf_head = 0;
/*
* Choose unscroll method
*/
unscroll_event = US_DISP;
/*
* Prepare the mouse handler.
*/
lastact = MA_NOTHING;
lastbtn = MB_NOTHING;
dbltime = GetDoubleClickTime();
|
| ︙ | |||
1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 | 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 | + + + + + + + + |
int cancel_alt = FALSE;
/*
* Get hold of the keyboard state, because we'll need it a few
* times shortly.
*/
ret = GetKeyboardState(keystate);
/*
* Record that we pressed key so the scroll window can be reset, but
* be careful to avoid Shift-UP/Down
*/
if( wParam != VK_SHIFT && wParam != VK_PRIOR && wParam != VK_NEXT ) {
seen_key_event = 1;
}
/*
* Windows does not always want to distinguish left and right
* Alt or Control keys. Thus we keep track of them ourselves.
* See also the WM_KEYUP handler.
*/
if (wParam == VK_MENU) {
|
| ︙ |