Skip to content

Bug report #4797

@Phoebus47

Description

@Phoebus47

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

-----------------------------------------------------------------------
Last 200 Keys:
 g i t Space a d d Space . Enter
 t Backspace g i t Space c o m m i t Space - m Space " " LeftArrow w Backspace f e a t Backspace 
Backspace Backspace i x : Space e d i t Space M a p Space U I RightArrow Enter
 UpArrow UpArrow UpArrow Enter
 UpArrow UpArrow UpArrow UpArrow Enter
 UpArrow UpArrow Enter
 UpArrow UpArrow UpArrow UpArrow Enter
 UpArrow UpArrow UpArrow UpArrow LeftArrow LeftArrow LeftArrow LeftArrow Backspace Backspace Backspace s e a r c h Space p e t Space Backspace - s i t t e r s RightArrow RightArrow RightArrow RightArrow Enter
 UpArrow UpArrow UpArrow UpArrow Enter
 UpArrow UpArrow UpArrow UpArrow UpArrow UpArrow UpArrow Enter
 UpArrow UpArrow Backspace Backspace Backspace Backspace s t a t u s Enter
 UpArrow UpArrow UpArrow UpArrow UpArrow Enter
 UpArrow UpArrow UpArrow UpArrow UpArrow Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace 
Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Backspace Ctrl+v Enter
 UpArrow DownArrow

Exception:
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 -2.
   at System.Console.SetCursorPosition(Int32 left, Int32 top)
   at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
   at Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
   at Microsoft.PowerShell.PSConsoleReadLine.HistoryRecall(Int32 direction)
   at Microsoft.PowerShell.PSConsoleReadLine.NextHistory(Nullable`1 key, Object arg)
   at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
   at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
   at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)
-----------------------------------------------------------------------

Screenshot

N/A

Environment data

PS Version: 5.1.19041.5965
PS HostName: ConsoleHost
PSReadLine Version: 2.0.0-beta2
PSReadLine EditMode: Windows
OS: 10.0.19041.1 (WinBuild.160101.0800)
BufferWidth: 97
BufferHeight: 7

Steps to reproduce

git commit -m "enhance: improve chat UX with smart auto-scroll and typing indicators

  • Add intelligent scroll detection to prevent unwanted auto-scrolling
  • Show typing indicator above input when user is viewing message history
  • Display typing indicator inline when user is at bottom of chat
  • Add scroll-to-bottom button with unread message count
  • Implement smooth scrolling behavior for better user experience
  • Prevent interruption when users are reading older messages"

Expected behavior

enhance: improve chat UX with smart auto-scroll and typing indicators

  • Add intelligent scroll detection to prevent unwanted auto-scrolling
  • Show typing indicator above input when user is viewing message history
  • Display typing indicator inline when user is at bottom of chat
  • Add scroll-to-bottom button with unread message count
  • Implement smooth scrolling behavior for better user experience
  • Prevent interruption when users are reading older messages

Actual behavior

can commit and the message work normaly

enhance: improve chat UX with smart auto-scroll and typing indicators

  • Add intelligent scroll detection to prevent unwanted auto-scrolling
  • Show typing indicator above input when user is viewing message history
  • Display typing indicator inline when user is at bottom of chat
  • Add scroll-to-bottom button with unread message count
  • Implement smooth scrolling behavior for better user experience
  • Prevent interruption when users are reading older messages

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions