Skip to content

tui: thinking/footer marquee row slides and leaves line artifacts in COSMIC Terminal (cosmic-term) #61336

Closed as not planned

Description

@itsRon4ld

Summary

In OpenCode v2.2.5 running inside COSMIC Terminal (cosmic-term), the row that
marquee-slides right-to-left while the model is thinking shifts/repaints badly
during the animation, leaving a stray horizontal line artifact below the footer
text (persisting even while idle). This looks like the remaining portion of
#23452 ("loading bar shifts window, lines in logo"): the mitigation in #33633
removed the logo animation, but the thinking/footer marquee animation still
misbehaves in cosmic-term.

Environment

  • opencode version: 2.2.5 (latest release channel)
  • OS: Pop!_OS 24.04 LTS (Ubuntu noble), kernel 7.0.11-76070011-generic, x86_64, Wayland
  • Terminal: cosmic-term 1.5.0178546579024.047daf10e and
    1.11.0
    179260690524.04a5e1bb5 (reproduces on both); TERM=xterm-256color,
    COLORTERM=truecolor
  • Shell: /bin/bash
  • Install/channel: official release
  • Active plugins: none

Reproduction

  1. Run the opencode TUI inside cosmic-term on Pop!_OS 24.04 (Wayland session).
  2. Send a message so the thinking spinner / footer marquee row is active.
  3. Observe the footer row sliding right-to-left and a horizontal line artifact
    below the footer text.

Expected Behavior

The animated row repaints in place, and the idle screen renders with clean text
and no stray line artifact, in cosmic-term (other terminals render this
correctly, per the reports in #23452).

Actual Behavior

During the thinking animation the footer row slides and the terminal paints a
spurious line under the text; a thin line artifact also shows below the
branding while idle. It reproduces consistently, survives terminal restarts and
resizes, and did not change across the cosmic-term 1.5.0 → 1.11.0 update.

Additional Context

Activity

  1. opencodejr commented on Nov 3, 2026

    @opencodejr
    Contributor

    Thanks for the detailed report! Before we try to reproduce this, a few things would help us pin down what's moving:

    1. A short screen recording, or before and after screenshots, showing which row slides and where the line artifact appears. You offered one, and it would help a lot.
    2. Your config with animations turned off: the path and contents of the cli.json you edited (normally ~/.config/opencode/cli.json). With "animations": false, the scanner next to esc interrupt should be replaced by a static [⋯], so if something still slides, we need to see exactly which element it is. Restarting OpenCode after the change, or toggling it from the command palette ("Disable animations"), would also be useful to try.
    3. Another terminal, if possible: whether the same artifact shows up in another terminal on the same machine (e.g. GNOME Terminal, Alacritty or Kitty). This tells us whether it's specific to cosmic-term's text rendering.

    You can reply here with the details, or edit the issue. If you edit it, please also leave a comment saying you've updated it so we know you're done.

    Related issues, ordered by likelihood:

  2. opencodejr commented on Nov 6, 2026

    @opencodejr
    Contributor

    Closing this for now, since we haven't heard back. To tell whether this is the known COSMIC Terminal glyph-width issue (#48378, tracked upstream in pop-os/cosmic-text#507) or a separate OpenCode problem, we need a few things:

    • a short recording or screenshots showing which row slides and where the line appears
    • the cli.json you used to set "animations": false
    • if possible, whether the same thing happens in another terminal

    If you can share these, please comment here and we can reopen the issue. Thanks for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions