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

Allow naming of the tabs #1705

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Allow naming of the tabs #1705

wants to merge 1 commit into from

Conversation

Yaraslaut
Copy link
Member

@Yaraslaut Yaraslaut commented Jan 9, 2025

Refs #1690
Closes #296

PR Adds naming to the tabs, and adds another option to the Tabs status line config, separator

@github-actions github-actions bot added VT: Backend Virtual Terminal Backend (libterminal API) frontend Contour Terminal Emulator (GUI frontend) labels Jan 9, 2025
@@ -156,6 +157,7 @@ std::optional<StatusLineDefinitions::Item> makeStatusLineItem(
styles,
activeColor,
activeBackground,
std::nullopt,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we use designated initializers here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will add a comment, that this is separator, because this class has an inheritance and we can not use designated initialization here :(

@Yaraslaut Yaraslaut force-pushed the feature/tabs_naming branch 4 times, most recently from e0b350e to 9469f71 Compare January 17, 2025 21:14
Copy link
Member

@christianparpart christianparpart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you

src/contour/Config.h Outdated Show resolved Hide resolved
src/vtbackend/Terminal.cpp Outdated Show resolved Hide resolved
src/contour/TerminalSessionManager.h Outdated Show resolved Hide resolved
src/vtbackend/Terminal.cpp Outdated Show resolved Hide resolved
src/vtbackend/Terminal.h Outdated Show resolved Hide resolved
src/vtbackend/ViInputHandler.cpp Outdated Show resolved Hide resolved
src/vtbackend/ViInputHandler.h Outdated Show resolved Hide resolved
@Yaraslaut Yaraslaut force-pushed the feature/tabs_naming branch from 9469f71 to 6e4d8cc Compare January 20, 2025 20:21
@Yaraslaut Yaraslaut marked this pull request as ready for review January 20, 2025 20:21
@Yaraslaut Yaraslaut force-pushed the feature/tabs_naming branch from 6e4d8cc to ab2db50 Compare January 20, 2025 20:24
@Yaraslaut Yaraslaut force-pushed the feature/tabs_naming branch from ab2db50 to 6b91660 Compare January 20, 2025 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend Contour Terminal Emulator (GUI frontend) VT: Backend Virtual Terminal Backend (libterminal API)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Keybind to open an input box where user can change title of terminal window
2 participants