Skip to content

Edit a session's startup command after creation #74

Closed

Description

@mortenaslo

Request

Allow editing the command line a session is launched with after it has been created.

Today the launch Command / Args (and the SSH equivalents) are captured at session creation time in NewSessionDialog and persisted to state.json, but there is no UI to change them afterwards — you have to close the session and create a new one (losing scrollback, runs, notes, etc.) just to fix a typo or swap the launched tool.

Suggested UI

  • A "Edit launch command…" entry on the sidebar right-click menu (and possibly on the terminal toolbar dropdown).
  • Small dialog that lets the user tweak Command / Args (and SSH fields for remote sessions).
  • Changes apply on next launch — the running PTY is unaffected until the session is restarted (sleep/wake or close/reopen).

Activity

  1. AThraen commented on Aug 27, 2026

    @AThraen
    Contributor

    Implemented by #98 (merged as 4a05d9c).

    Any session can now be reconfigured through the same NewSessionDialog in edit mode — working folder, command, SSH target and appearance — reachable from the ⚙ on the terminal toolbar, the sidebar right-click menu, and on a dormant row (which reconfigures a sleeping session without waking it). The session keeps its Id, group, run commands and sidebar slot.

    Closing by hand: the PR body didn't carry a Closes keyword.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions