Describe the bug
Description
In recent versions of GitHub Copilot CLI, long responses are sometimes not fully visible in the terminal. The missing text is not reachable using the terminal scrollbar.
The issue appears to be related to terminal resizing / reflow. When I resize the terminal window, the same response is rendered differently: sometimes more text is visible, sometimes less. In some layouts, parts of the final response are clipped even though they become visible after resizing to a different width.
Expected behavior
All generated output should remain accessible after rendering.
If the response is longer than the visible terminal area, I should be able to reach the hidden text through normal terminal scrolling. Resizing the terminal should reflow the output without losing or hiding any content.
Actual behavior
Parts of the generated response become hidden or clipped.
The hidden text cannot be reached with the terminal scrollbar. Resizing the terminal changes which parts of the response are visible, but does not reliably make the full output accessible.
Example
Copilot CLI produced a response containing multiple sections/options. Earlier in the output, I could see that the response included “Option C”. However, in the final rendered summary, the text was cut off and only part of the options were visible.
After resizing the terminal:
- in one width, the final summary was cut off after the first option
- in another width, it was cut off differently
- in a narrower width, almost the full summary became visible
This makes it look like the content is present internally but is being clipped or incorrectly reflowed by the terminal UI.
Notes
This seems related to terminal rendering, wrapping, or scrollback handling. The main problem is not just that the response is long, but that some text becomes unreachable after rendering.
Affected version
GitHub Copilot CLI 1.0.53-1
Steps to reproduce the behavior
- Open Copilot CLI in an interactive terminal.
- Ask for a response that produces a longer structured answer or final task summary.
- Wait until the response is complete.
- Resize the terminal window wider or narrower.
- Observe that the visible text changes depending on the terminal width.
- Try to use the terminal scrollbar to access the missing text.
Expected behavior
All generated output should remain accessible after rendering.
If the response is longer than the visible terminal area, I should be able to reach the hidden text through normal terminal scrolling. Resizing the terminal should reflow the output without losing or hiding any content.
Additional context
No response
Describe the bug
Description
In recent versions of GitHub Copilot CLI, long responses are sometimes not fully visible in the terminal. The missing text is not reachable using the terminal scrollbar.
The issue appears to be related to terminal resizing / reflow. When I resize the terminal window, the same response is rendered differently: sometimes more text is visible, sometimes less. In some layouts, parts of the final response are clipped even though they become visible after resizing to a different width.
Expected behavior
All generated output should remain accessible after rendering.
If the response is longer than the visible terminal area, I should be able to reach the hidden text through normal terminal scrolling. Resizing the terminal should reflow the output without losing or hiding any content.
Actual behavior
Parts of the generated response become hidden or clipped.
The hidden text cannot be reached with the terminal scrollbar. Resizing the terminal changes which parts of the response are visible, but does not reliably make the full output accessible.
Example
Copilot CLI produced a response containing multiple sections/options. Earlier in the output, I could see that the response included “Option C”. However, in the final rendered summary, the text was cut off and only part of the options were visible.
After resizing the terminal:
This makes it look like the content is present internally but is being clipped or incorrectly reflowed by the terminal UI.
Notes
This seems related to terminal rendering, wrapping, or scrollback handling. The main problem is not just that the response is long, but that some text becomes unreachable after rendering.
Affected version
GitHub Copilot CLI 1.0.53-1
Steps to reproduce the behavior
Expected behavior
All generated output should remain accessible after rendering.
If the response is longer than the visible terminal area, I should be able to reach the hidden text through normal terminal scrolling. Resizing the terminal should reflow the output without losing or hiding any content.
Additional context
No response