Skip to content

Terminals created before panel is initialized have the wrong width #28138

Closed

Description

@Tyriar

This is happening because the pty is initialized with a width of 80 initially because we don't know about the dimensions of the screen. Maybe a resize should be run async after the panel is displayed?

image

Activity

  1. added
    bug
    terminal
    on Jun 6, 2017
  2. added this to the June 2017 milestone on Jun 6, 2017
  3. Tyriar commented on Jun 12, 2017

    @Tyriar
    ContributorAuthor

    I just observed this with the height as well, running git log was putting the actual top of the log above the viewport. I counted 24 rows which is the default.

  4. added
    candidate
    on Jun 12, 2017
  5. Tyriar commented on Jun 12, 2017

    @Tyriar
    ContributorAuthor

    Cherry picked to release/1.13

  6. added a commit that references this issue on Jun 12, 2017
    482968f
  7. aeschli commented on Jun 14, 2017

    @aeschli
    Contributor

    Verified in 1.13.1

  8. locked and limited conversation to collaborators on Nov 17, 2017
  9. added a commit that references this issue on Sep 6, 2026
    c651636
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugcandidateterminalverified

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions