Skip to content

Interactive picker leaves screen artifacts after exit #1027

@davidbeesley

Description

@davidbeesley

After exiting the interactive picker (wt switch/wt select), skim's TUI content stays on screen:

> ○ Already on worktree for test @ ~/git/worktrunk.test
    Branch  Status        HEAD±    main↕  Path               Remote⇅  Commit    Age   Message
[dave@host] [~/git/worktrunk.test] [ test]  fix(sty..
❯ ^ main     !? ^⇡💬    +1                .                  ⇡13      c0905e3d  1h    fix(sty..

───────────────────────────────────────────────────────────────────────────────────────────────
1: HEAD± | 2: log | 3: main…± | 4: remote⇅                                                 1/4
Enter: switch | alt-c: create | Esc: cancel | ctrl-u/d: scroll | alt-p: toggle

○ test has no uncommitted changes

skim-tuikit bug: partial-height mode (90%) skips alternate screen entry but cleanup still sends rmcup instead of erasing drawn content. Known issue: skim-rs/skim#880, fixed in skim 3.x (which requires nightly).

Reproduced on Linux tmux + foot terminals.

Fix: set no_clear_start(true) in skim options — forces tuikit to use cursor_goto + erase_down cleanup instead of the broken rmcup path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions