You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fill the PowerShell integrated console buffer (DIR \WINDOWS\SYSTEM32 for instance) and then proceed to type a command longer than the console window so that it has to scroll, and an error will occur "System.ArgumentOutOfRangeException": The value must be greater than or equal to zero and less than the console's buffer
size in that dimension.
Parameter name: top
Actual value was 3000.
at System.Console.SetCursorPosition(Int32 left, Int32 top)
I found this while trying to use the 'F8' run selection, as it would trigger this. This happens right away in a new instance of VSCode with integrated PowerShell console. It also happens when trying to recall previous commands that are longer than the console window is wide. This is made worse if the current path is pretty long, making the command prompt take up most of the line. Running "clear" allows the command to finally be entered without receiving the error.
There are also some text display overwrite issues when recalling commands longer than the window is wide, specially if the number of lines of the recalled command is more than the number of lines visible in the console window.
VS Code version: Code 1.23.0 (7c7da59, 2018-05-03T16:44:55.614Z)
OS version: Windows_NT x64 10.0.16299
System Info
Item
Value
CPUs
Intel(R) Core(TM) i5 CPU U 430 @ 1.20GHz (4 x 1197)
Issue Type: Bug
Fill the PowerShell integrated console buffer (DIR \WINDOWS\SYSTEM32 for instance) and then proceed to type a command longer than the console window so that it has to scroll, and an error will occur "System.ArgumentOutOfRangeException": The value must be greater than or equal to zero and less than the console's buffer
size in that dimension.
Parameter name: top
Actual value was 3000.
at System.Console.SetCursorPosition(Int32 left, Int32 top)
I found this while trying to use the 'F8' run selection, as it would trigger this. This happens right away in a new instance of VSCode with integrated PowerShell console. It also happens when trying to recall previous commands that are longer than the console window is wide. This is made worse if the current path is pretty long, making the command prompt take up most of the line. Running "clear" allows the command to finally be entered without receiving the error.
There are also some text display overwrite issues when recalling commands longer than the window is wide, specially if the number of lines of the recalled command is more than the number of lines visible in the console window.
VS Code version: Code 1.23.0 (7c7da59, 2018-05-03T16:44:55.614Z)
OS version: Windows_NT x64 10.0.16299
System Info
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: unavailable_software
video_decode: enabled
video_encode: enabled
vpx_decode: unavailable_software
webgl: enabled
webgl2: enabled
Extensions (2)
The text was updated successfully, but these errors were encountered: