Skip to content

Adopt resize with pixel #295819

Closed
Closed

Description

Adopt: microsoft/node-pty#881
similar to xtermjs/xterm.js#5693 otherwise we just get

(.venv) (base) anthonykim@Anthonys-MacBook-Pro-2 Skeleton % kitty +kitten icat --transfer-mode stream /Users/anthonykim/desktop/colorAllTheWay.png
Error: Terminal does not support reporting screen sizes in pixels, use a terminal such as kitty, WezTerm, Konsole, etc. that does.
(.venv) (base) anthonykim@Anthonys-MacBook-Pro-2 Skeleton % 




``` for kitty 

Activity

  1. added
    terminal
    feature-request
    and removed
    terminal
    on Feb 17, 2026
  2. added
    unreleased
    insiders-released
    and removed
    unreleased
    on Feb 17, 2026
  3. benvillalobos commented on Feb 24, 2026

    @benvillalobos
    Member

    Verification Steps

    1. Open VS Code Insiders on macOS or Linux (ensure you have a terminal emulator that supports pixel reporting, e.g., Kitty, WezTerm, or Konsole).
    2. Open the integrated terminal and select the supported terminal profile (e.g., Kitty).
    3. Run the command: kitty +kitten icat --transfer-mode stream /path/to/an/image.png
      • Replace /path/to/an/image.png with a valid image file path.
    4. Observe the output in the integrated terminal.
      • The image should display correctly without an error about unsupported pixel reporting.
    5. Resize the integrated terminal panel (drag the panel border to change its size).
      • The image should reflow or adjust according to the new terminal size.
    6. Repeat steps 3-5 in a terminal profile that does NOT support pixel reporting (e.g., default macOS Terminal).
      • You should see the error message about unsupported pixel reporting, confirming correct fallback behavior.
  4. roblourens commented on Feb 25, 2026

    @roblourens
    Member

    I can't figure out how to run the kitty shell in vscode. I installed it with brew but it only launches the external terminal kitty app.

  5. added
    verification-steps-needed
    on Feb 25, 2026
  6. anthonykim1 commented on Mar 5, 2026

    @anthonykim1
    ContributorAuthor

    roblourens Thanks for testing :) You just need kitty installed to use the kitten command in VS Code terminal.

    If you get any image to show up in the terminal (with kitty graphics protocol), it's enough to be labeled verified.
    I think we're good to close this. Since we had this tested through #297073

    If this didnt work then it would've errored in terminal like the original issue description.

  7. added
    verified
    and removed
    verification-steps-needed
    on Mar 5, 2026
  8. locked and limited conversation to collaborators on Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestinsiders-releasedon-testplanverification-neededverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions