Skip to content

Windows PowerShell Bug #5048

@haribo-admin

Description

@haribo-admin

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest released version
  • Search the existing issues, especially the pinned issues.

Exception report

PS C:\Users\ALFANUR>
Oops, something went wrong.  Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new
-----------------------------------------------------------------------
Last 2 Keys:
 ` Ctrl+v

Exception:
System.ArgumentOutOfRangeException: Değer sıfırdan büyük veya eşit ve bu boyuttaki konsolun arabellek boyutundan küçük olmalıdır.
Parametre adı: top
Gerçek değer -6 idi.
   konum: System.Console.SetCursorPosition(Int32 left, Int32 top)
   konum: Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
   konum: Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
   konum: Microsoft.PowerShell.PSConsoleReadLine.Paste(Nullable`1 key, Object arg)
   konum: Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
   konum: Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
   konum: Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)
-----------------------------------------------------------------------

Screenshot

Image Image

Environment data

PS Version: 5.1.19041.6456
PS HostName: ConsoleHost
PSReadLine Version: 2.0.0-beta2
PSReadLine EditMode: Windows
OS: 10.0.19041.320 (WinBuild.160101.0800)
BufferWidth: 117
BufferHeight: 3000

Steps to reproduce

PS C:\Users\ALFANUR> cd "C:\Users\ALFANUR\Desktop\kod çalışmaları klasörü\phits_400_run"

$t2 = Import-Csv .\MASTER_TABLE2_total_metrics_FIXED.csv
$t3 = Import-Csv .\MASTER_TABLE3_topnuclides_long_FIXED.csv

"TABLE2 rows = $($t2.Count)"
"TABLE3 rows = $($t3.Count)"

Kolon adlarını gör

$t2[0].psobject.Properties.Name
$t3[0].psobject.Properties.Name

TABLE2 rows = 48
TABLE3 rows = 132
run_id
R_aperture_mm
part
output_time_short
output_time_raw
metric
per_cc_value
per_cc_err
rel_err_pct
total_value
unit_per_cc
unit_total
run_id;"part";"R_aperture_mm";"time_point";"output_time_raw";"nuclide";"atoms_per_cc";"bq_per_cc";"bq";"err_percent";"act_file"

Expected behavior

paste the last text that I copied

Actual behavior

warning sign came :

Try the new cross-platform PowerShell https://aka.ms/pscore6

PS C:\Users\ALFANUR>
Oops, something went wrong. Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new

Last 2 Keys:
` Ctrl+v

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions