github / github/copilot-cli

Emoji table column misalignment regression (v1.0.43) — #2764 not fully fixed

未關閉
#3,205 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area:terminal-rendering
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

## Description

#2764 was closed as fixed in v1.0.32, but emoji column misalignment persists in v1.0.43. Emoji characters in table cells cause column borders to shift and extra `|` pipe characters render inside cells.

## Steps to Reproduce

Prompt:
```
echo this table back to me | Test | Rate | Status | Fix |
|------|------|--------|-----|
| FooTest | 12/12 | ❌ Unresolved | #123 didn't fix |
| BarTest | 7/12 | 🔧 Merged | #456 May 8 |
| BazTest | 6/12 | 🔶 Partial | #789: 100%→25% |
| QuxTest | 4/12 | ❓ No fix | — |
| QuuxTest | 3/12 | ✅ Ready | PR #101 |
| CorgeTest | 2/12 | 🟡 Flaky | — |
```

## Expected

Columns align correctly. Emoji counted as correct display width.

## Actual

- Status column with emoji shifts subsequent column borders right
- Extra `|` pipe characters appear inside rendered cells
- Column widths inconsistent between rows with different emoji

Image

## Environment

- Copilot CLI version: 1.0.43
- OS: macOS
- Terminal: IntelliJ built-in terminal
- Shell: zsh

## Ref

- #2764 — originally reported, closed as fixed in v1.0.32
- Fix claim: "Tables render with correct column widths, emoji support, and stable borders during terminal resize"

貢獻指南

開啟貢獻指南

研究方向

Reproduce the supplied table prompt in Copilot CLI 1.0.43 on the stated terminal, then trace the table-rendering and display-width handling entry points. Compare rows containing emoji with plain-text rows and verify that columns align, no extra pipe characters appear, and widths remain consistent.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
shell
領域
cli
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。