problem and also some unspecified woe with the ever-problematic
Compose key.
git-svn-id: http://svn.tartarus.org/sgt/putty@1046
cda61777-01e9-0310-a592-
d414129be87e
/* Note if AltGr was pressed and if it was used as a compose key */
if (!compose_state) {
- compose_key = -1;
+ compose_key = 0x100;
if (cfg.compose_key) {
if (wParam == VK_MENU && (HIWORD(lParam)&KF_EXTENDED))
compose_key = wParam;
return p-output;
}
+ /* If we're definitly not building up an ALT-54321 then clear it */
+ if (!left_alt) keys[0] = 0;
}
/* ALT alone may or may not want to bring up the System menu */