mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-23 06:59:25 -05:00
Alt-Enter was fouling up on Win95; added explicit handler
[originally from svn r687]
This commit is contained in:
parent
82dcef256f
commit
f7d6cd2059
10
window.c
10
window.c
@ -2072,6 +2072,16 @@ static WPARAM compose_key = 0;
|
|||||||
return p - output;
|
return p - output;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Finally, deal with Return ourselves. (Win95 seems to
|
||||||
|
* foul it up when Alt is pressed, for some reason.)
|
||||||
|
*/
|
||||||
|
if (wParam == VK_RETURN) /* Return */
|
||||||
|
{
|
||||||
|
*p++ = 0x0D;
|
||||||
|
return p-output;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Okay we've done everything interesting; let windows deal with
|
/* Okay we've done everything interesting; let windows deal with
|
||||||
|
Loading…
x
Reference in New Issue
Block a user