Skip to content

Automatically set title on tab #118

Description

@vetash

Checks

Motivation

When I connect to multiple servers in separate Konsole (KDE) tabs, all tabs share the exact same title: lazyssh. This makes it very difficult to distinguish between different active sessions and find the correct server. Would it be possible to automatically change the tab/window title upon connection? Ideally, it should display the server name followed by its host or IP address in parentheses, for example: ServerName (192.168.1.1).

I know this can be achieved manually by running:

echo -en "\033]30;SERVER_NAME\007"

However, doing this manually every time is inefficient. It would be amazing to have this automated natively within lazyssh.

Image

Implementation

No response

Are you willing & able to help?

  • I am able to submit a PR!
  • I can help test the feature!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions