mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 04:36:39 +00:00
spelling: locals in src/Microsoft.PowerShell.ConsoleHost
This commit is contained in:
1 parent
b2dfcf3835
commit
0238f03f38
1 file changed
+2
-2
@@ -860,9 +860,9 @@ namespace Microsoft.PowerShell
|
|||||||
ConsoleControl.INPUT_RECORD[] inputRecords =
|
ConsoleControl.INPUT_RECORD[] inputRecords =
|
||||||
new ConsoleControl.INPUT_RECORD[ConsoleControl.GetNumberOfConsoleInputEvents(handle)];
|
new ConsoleControl.INPUT_RECORD[ConsoleControl.GetNumberOfConsoleInputEvents(handle)];
|
||||||
|
|
||||||
int acutalNumberOfInputRecords = ConsoleControl.PeekConsoleInput(handle, ref inputRecords);
|
int actualNumberOfInputRecords = ConsoleControl.PeekConsoleInput(handle, ref inputRecords);
|
||||||
|
|
||||||
for (int i = 0; i < acutalNumberOfInputRecords; i++)
|
for (int i = 0; i < actualNumberOfInputRecords; i++)
|
||||||
{
|
{
|
||||||
if (((ConsoleControl.InputRecordEventTypes)inputRecords[i].EventType) ==
|
if (((ConsoleControl.InputRecordEventTypes)inputRecords[i].EventType) ==
|
||||||
ConsoleControl.InputRecordEventTypes.KEY_EVENT)
|
ConsoleControl.InputRecordEventTypes.KEY_EVENT)
|
||||||
|
|||||||
Reference in new issue
Block a user