Kimi Code TUI在WSL2中无法粘贴图片到对话框中
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- Half a day
- Newbie friendliness
- 50/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- linux, typescript
- Domain
- cli
Research direction
The repro shows wl-paste --list-types returning image/bmp while Ctrl+V and Alt+V do nothing in the TUI, so the clipboard bridge under WSL2 either does not call wl-paste for images or rejects the BMP type. Start by locating the TUI's paste/keybinding handling and any existing image-clipboard code that the earlier issues (#1961, #316, #2425, #2722, #3744) touched, then check how pasted images are decoded and what MIME types are accepted. Done means pasting a Windows-clipboard image in WSL2 under Windows Terminal inserts the image, verified manually plus any existing clipboard tests.
Written by the indexing model from the issue text.
Description
你运行的 Kimi Code 版本是?
2.7.2
你使用的是哪个开放平台/订阅?
Kimi for coding
你使用的是哪个模型?
kimi-k3.1-pro
你的电脑平台是?
Linux 6.18.54.1-microsoft-standard-WSL2 x86_64 x86_64
你遇到了什么问题?
用 Windows Terminal 在 WSL 内运行 kimi-code,Windows 剪贴板中有图片时按 Ctrl+V 无法粘贴图片到对话框,Alt+V 也没有反应。
复现步骤?
- 复制一张图片。
- 用 Windows Terminal 在 WSL 内执行:
wl-paste --list-types # image/bmp - 启动 kimi TUI,按 Ctrl+V。
- 输入框没有变化。
期望的行为是什么?
图片能够正常粘贴。
补充信息
相关 issue
- #1961
- #316
- #2425
- #2722
- #3744
本 issue 记录了 2.7.2 上的复现
Contribution
- 我愿意自己提交修复此 bug 的 PR(请先等待维护者在本 issue 中批准)
- Dominant language
- TypeScript
- Stars
- 8.3k
- Forks
- 1.4k
- Avg merge
- 12h 6m
- Merged PRs (30d)
- 596
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from MoonshotAI/kimi-code
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
MoonshotAI/kimi-code#5539 ·
Maintainers usually reply within 1 day
-
[Bug] Kimi RC workspace folder picker does not display symbolic link directoriesPossibly taken @markankamaransheogarat-sys claimed this 2 days ago. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
MoonshotAI/kimi-code#5296 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
MoonshotAI/kimi-code#5256 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
MoonshotAI/kimi-code#5062 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
MoonshotAI/kimi-code#5057 ·
Maintainers usually reply within 1 day
All issues in MoonshotAI/kimi-code
Similar issues
-
Add Alice&BotOpen
Difficulty 1/5 Under an hour Newbie friendliness 72/100
slavakurilyak/awesome-ai-agents#1048 ·
-
bot:ai-assisted component:faucet github_actions security status:untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
midnightntwrk/midnight-faucet-api#215 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
NanmiCoder/cc-haha#2034 · 1 comment ·
Maintainers usually reply within 1 day
-
mobile prio:low
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
digitalfabrik/entitlementcard#3324 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day