CLI run in "alternate screen" mode glitches on subsequent renders
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
Research direction
Start by reproducing klog today --follow test.klg in Warp on macOS and compare its alternate-screen rendering with Terminal.app, Hyper, and htop. Investigate the terminal rendering and cursor-update path; done means follow-mode output stays at the top and the cursor no longer jumps or blinks during updates.
Written by the indexing model from the issue text.
Description
Discord username (optional)
No response
Describe the bug
The time tracking tool klog has a --follow mode which makes it fill the whole terminal estate and dynamically update the output.
It doesn't render as expected in Warp. It's rendered at the wrong position and the cursor glitches/jumps on updates.
To Reproduce
- Install
klog:brew install jotaen/klog/klog - Create a new klog file:
touch test.klg - To reproduce, run:
klog today --follow test.klg
Expected behaviour
- I expect the output to be rendered at the top of the terminal, which it correctly does in other terminals like Terminal.app and Hyper. Other tools, like
htop, which fills the whole terminal behaves correctly, in Warp too. - I expect the cursor to not jump/blink on updates/re-renders.
Screenshots
https://user-images.githubusercontent.com/516549/216321822-a9f674a9-9812-4f5e-956f-906d1f36849f.mov
Operating System
MacOS
OS Version
13.1
Shell Version
Zsh: 5.8
Warp Version
v0.2023.01.24.08.03.stable_01
Additional context
No response
Does this block you from using Warp daily?
No
Warp Internal (ignore): linear-label:b8107fdf-ba31-488d-b103-d271c89cac3e
None
- Dominant language
- Rust
- Stars
- 65.1k
- Forks
- 5.6k
- PR merge metrics
- PR metrics pending
Contributor 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 warpdotdev/warp
-
area:agent area:window-tabs-panes enhancement needs-info os:mac repro:high triaged
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
warpdotdev/warp#15768 · 3 comments · 1 reaction ·
-
bug factory-auto-implement factory:revops-factory os:mac ready-to-implement repro:high triaged warp:auto-triage-review
Difficulty 1/5 Under an hour Newbie friendliness 90/100
warpdotdev/warp#15697 · 2 comments ·
-
area:editor-notebooks bug repro:high triaged warp:auto-triage-review warp:tracking
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
warpdotdev/warp#13949 · 3 comments ·
-
markdown_parser: unclosed `<u>` markers pair via the emphasis algorithm and delete surrounding text Openarea:editor-notebooks bug ready-to-implement repro:high triaged warp:auto-triage-review
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
warpdotdev/warp#12863 · 2 comments ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
warpdotdev/warp#11969 · 2 comments ·
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
bevyengine/bevy#25861 ·
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
enhancement remote
Difficulty 2/5 1-3 hours Newbie friendliness 68/100