Skip to content

TUI of gomi --restore breaks in small terminal windows #125

Description

@u1f992

I noticed a bug where the TUI of gomi --restore is broken when the terminal window is small.

  • gomi v1.6.3
  • GNOME Terminal Version 3.52.0 for GNOME 46
  • Reproducible right after installing with curl -fsSL https://gomi.dev/install | PREFIX=~/.local/bin bash

Full screen:

Image

Small window:

Image

This should be fixable by adjusting the resize handling. Sorry, I'm not very proficient at reading or writing Go, and the attached patch was generated by an AI. Please use it just as a reference for understanding the issue, and feel free to solve it in a better way (that's also why I'm sending a patch attachment instead of opening a PR).

0001-fix-follow-terminal-size-in-restore-list-view.patch

Image

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