copilot-cli icon indicating copy to clipboard operation
copilot-cli copied to clipboard

ask_user laggy with screen jumping as typing response

Open liraz747 opened this issue 10 months ago • 3 comments

Describe the bug

When the agent calls the ask_user tool to ask a question, when it does so with a relatively long description and the response is more than 2-3 lines, the more typed, it starts to flash with each key that is typed, and then starts jumping to the start of the terminal and back on each key type and becomes so laggy that it's very difficult to type anything, requiring to wait between each key that is pressed, and also misses some keys that are typed

Affected version

GitHub Copilot CLI 0.0.400

Steps to reproduce the behavior

  1. Ask an agent to use ask_user to ask you a multiple choice question with the last option being freeform, or to write a long multiple line description in the question (what it has done so far or something similar)
  2. In the freeform answer, type something that is more than 2 lines long- and it will start lagging the more you type and terminal will start jumping to beginning and flashing

Expected behavior

To not be flashing on each typed character and jumping to start of terminal and back on inputs that are more than 2 lines long

Additional context

  • OS: macOS
  • CPU: arm
  • Terminal Emulator: iTerm2 (also happens in macOS terminal app and from SSH session)
  • Shell: zsh

liraz747 avatar Jan 31 '26 22:01 liraz747

Duplicate of #1202

jessey-git avatar Feb 01 '26 02:02 jessey-git

Describe the bug

When the agent calls the ask_user tool to ask a question, when it does so with a relatively long description and the response is more than 2-3 lines, the more typed, it starts to flash with each key that is typed, and then starts jumping to the start of the terminal and back on each key type and becomes so laggy that it's very difficult to type anything, requiring to wait between each key that is pressed, and also misses some keys that are typed

Affected version

GitHub Copilot CLI 0.0.400

Steps to reproduce the behavior

  1. Ask an agent to use ask_user to ask you a multiple choice question with the last option being freeform, or to write a long multiple line description in the question (what it has done so far or something similar)
  2. In the freeform answer, type something that is more than 2 lines long- and it will start lagging the more you type and terminal will start jumping to beginning and flashing

Expected behavior

To not be flashing on each typed character and jumping to start of terminal and back on inputs that are more than 2 lines long

Additional context

  • OS: macOS
  • CPU: arm
  • Terminal Emulator: iTerm2 (also happens in macOS terminal app and from SSH session)
  • Shell: zsh

caswayne0606-cyber avatar Feb 23 '26 00:02 caswayne0606-cyber

This should be resolved as of v1.0.14. That release includes a fix for dropped keystrokes in elicitation dialogs, and additional rendering improvements that should address the lag and screen jumping when typing longer responses. If you're still seeing this on v1.0.14 or later, please feel free to reopen.

examon avatar Apr 07 '26 09:04 examon