-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Incorrect rendering of code snippets indented with tabs #1051
Copy link
Copy link
Open
Labels
area:terminal-renderingDisplay and rendering: flickering, scrolling, line wrapping, output formattingDisplay and rendering: flickering, scrolling, line wrapping, output formatting
Description
Describe the bug
I noticed weird misalignment of code snippets indented with tabs. It's best shown on the following screenshot:
Affected version
0.0.388
Steps to reproduce the behavior
- Prompt:
I want to repro a code formatting bug I think copilot has. help me with it:
generate 2 identical C# files, just code which calculates fibonacci numbers say
- one will be indented by tabs
- one will be indented by spaces
show both on screen
- hit ctrl+o to expand recent
Expected behavior
The code in "boxes" will be displayed nicely. Instead, it appears the "padding" to make the code boxes full width is broken.
Additional context
- macOS
- ghostty
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:terminal-renderingDisplay and rendering: flickering, scrolling, line wrapping, output formattingDisplay and rendering: flickering, scrolling, line wrapping, output formatting
Type
Fields
Give feedbackNo fields configured for Bug.