Skip to content

Windows centers oddly on complex TUI apps #640

Closed

Description

@zauberen

A common use case for me is splitting the screen into 3-4 windows, using golden-ratio, one on the left and a stack of 3 on the right. I use one of the right hand ones for agents occasionally, typically opencode.

On Linux, I can launch opencode and switch between windows and it's no big deal, it will resize to fit and works like a charm (PGTK and WSL TUI).

On Windows however, only when focused, the window is scrolled down by 50%, so you can only see the bottom half of the opencode TUI. It works properly when using opencode in a dedicated tab with a single window though.

Activity

  1. dakra commented on Oct 15, 2026

    @dakra
    Owner

    Hi @zauberen, sorry for the late response but do you still have this problem?
    If so, can you try with the latest release (0.58) as there is a resizing bugfix specifically for conpty and maybe that was your bug.

  2. zauberen commented on Oct 22, 2026

    @zauberen
    Author

    That appears to have fixed my issue, thanks!

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions