-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Description
What happened?
When using Qwen CLI in read-only mode, code blocks are rendered with line numbers.
When copying the code, the line numbers and separator characters (│) are also copied.
This makes pasted code invalid and requires manual cleanup line-by-line.
- Steps to Reproduce
- Run Qwen CLI in read-only mode
- Ask for code generation
- Copy the generated code
- Paste into an editor
-Actual Behavior
Copied text includes line numbers and separators:
│ 69 ...
│ 70 ...
- Impact
This significantly hurts developer productivity and copy-paste workflows.
-Suggested Solutions
- Add an option to disable line numbers
- Strip line numbers on copy
- Provide a "copy clean code" mode or flag
What did you expect to happen?
Copied code should be clean, without line numbers or UI decorations.
Client information
Client Information
CLI Version 0.6.0 │
│ Git Commit 17eb20c │
│ Model coder-model │
│ Sandbox no sandbox │
│ OS Platform linux │
│ OS Arch x64 │
│ OS Release 6.14.0-37-generic │
│ Node.js Version v24.11.1 │
│ NPM Version 11.6.2 │
│ Session ID c840cc7f-d085-4065-a1d9-13b1e93ad676 │
│ Auth Method qwen-oauth │
│ Memory Usage 339.0 MB │
│ IDE Client VS Code
Login information
No response
Anything else we need to know?
No response