Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to rename a tab ? #41

Open
BarryArch opened this issue Jan 17, 2024 · 2 comments
Open

how to rename a tab ? #41

BarryArch opened this issue Jan 17, 2024 · 2 comments

Comments

@BarryArch
Copy link

It seems that tabs can not be renamed, it just named by numbers

@atinylittleshell
Copy link
Owner

yeah currently tabs can't be named. Is this an important feature to you? Would you like for them to automatically named by some rules or is it more useful to you to support manual rename?

@jjaimealeman
Copy link

This is one of the reasons I refuse to use Alacritty and why I chose Kitty - tabs.

Added benefit is being able to rename tabs and move tab order.

One tab may have Ranger, another neovim in one project, another tab for another neovim project, another running htop ...

So I too would love to have tab-naming ability :D

atinylittleshell added a commit that referenced this issue Aug 8, 2024
Related to #41

Add functionality to rename tabs.

* Add `renameTab` function in `packages/terminal/app/page.tsx` to handle renaming tabs.
* Update `Page` component to include a button for renaming tabs and display the renamed tab names.
* Add `tabName` prop to `Tab` component in `packages/terminal/components/Tab/index.tsx` and update it to display the `tabName` instead of `tabId`.
* Add a button for renaming tabs in `TitleBar` component in `packages/terminal/components/TitleBar/index.tsx`.
* Add `renameTab` function in `ConfigModule` in `packages/app/src/nativeBridge/modules/configModule.ts` to handle renaming tabs.
* Add `renameTab` function in `ApplicationModule` in `packages/app/src/nativeBridge/modules/applicationModule.ts` to handle renaming tabs.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/atinylittleshell/TerminalOne/issues/41?shareId=XXXX-XXXX-XXXX-XXXX).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants