Skip to content

Incorrect terminal width detection in tmux #808

Description

@hariseldon78

Describe the bug

I'm running copilot cli in my linux terminal inside tmux windows. With the "expand recent" option activated, when there are big blocks to show i am seeing the boxes being created 1 or 2 characters too big, resulting in this:

Image

Affected version

No response

Steps to reproduce the behavior

No response

Expected behavior

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:platform-linuxLinux-specific: Wayland, X11, Ubuntu, Fedora, Alpine, ARM, terminal emulatorsarea:terminal-renderingDisplay and rendering: flickering, scrolling, line wrapping, output formatting

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions