Skip to content

Alternate screen not restored after tssh reconnect #45

@awahlig

Description

@awahlig

This is somewhat edge-case behavior, but I can reproduce it consistently.

When using tssh (with the reconnect-patched tsshd), a reconnect triggered by rootshell’s eviction while a full-screen TUI application (e.g. vim or helix) is active, causes the alternate screen buffer to be lost. After the reconnect, exiting the editor no longer restores the previous terminal contents.

Image

In addition, in case of helix, the cursor shape changes to underline (I use block normally) inside the editor after reconnect.

Both issues only occur for the editor surviving a reconnect. Closing and reopening the editor restores normal behavior.

rootshell 1.0.2 (26)
iPadOS 26.3

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