1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-04 13:02:47 -05:00

Better robustness in visual bell timeouts: handling GetTickCount

wraparound, not referencing vbell_timeout if in_vbell==FALSE, that
sort of thing. I doubt it'll fix the reported problems with screen
vbells, since none of the failure modes I've just prevented looked
all that probable to me, but it's nice to have extra robustness
anyway.

[originally from svn r1314]
This commit is contained in:
Simon Tatham
2001-10-23 19:51:23 +00:00
parent f9bbdc1226
commit cb102602a9
2 changed files with 22 additions and 16 deletions

View File

@ -96,7 +96,7 @@ GLOBAL int rows, cols, savelines;
GLOBAL int has_focus;
GLOBAL int in_vbell;
GLOBAL long vbell_timeout;
GLOBAL unsigned long vbell_startpoint;
GLOBAL int app_cursor_keys, app_keypad_keys, vt52_mode;
GLOBAL int repeat_off, cr_lf_return;