mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 19:03:00 +00:00
[CONSRV]: "Fix" pasting non-ansi characters in console by removing the code that was too careful (when pasting text we don't generally use the associated virtual key/scan code, but just the unicode character itself.
CORE-11465 #resolve #comment Fixed! You can paste cyrillic text in the console without problems, and it is correctly understood. svn path=/trunk/; revision=71701
This commit is contained in:
parent
cf4c3fc4ee
commit
168b37af43
1 changed files with 8 additions and 2 deletions
|
@ -304,8 +304,14 @@ GuiPasteToTextModeBuffer(PTEXTMODE_SCREEN_BUFFER Buffer,
|
||||||
VkKey = VkKeyScanW(CurChar);
|
VkKey = VkKeyScanW(CurChar);
|
||||||
if (VkKey == 0xFFFF)
|
if (VkKey == 0xFFFF)
|
||||||
{
|
{
|
||||||
DPRINT1("VkKeyScanW failed - Should simulate the key...\n");
|
DPRINT1("FIXME: TODO: VkKeyScanW failed - Should simulate the key!\n");
|
||||||
continue;
|
/*
|
||||||
|
* We don't really need the scan/key code because we actually only
|
||||||
|
* use the UnicodeChar for output purposes. It may pose few problems
|
||||||
|
* later on but it's not of big importance. One trick would be to
|
||||||
|
* convert the character to OEM / multibyte and use MapVirtualKey
|
||||||
|
* on each byte (simulating an Alt-0xxx OEM keyboard press).
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Pressing some control keys */
|
/* Pressing some control keys */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue