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

[contour] Improve tab switch handling and add SwitchToPreviousTab #1689

Merged
merged 4 commits into from
Dec 31, 2024

Conversation

christianparpart
Copy link
Member

@christianparpart christianparpart commented Dec 31, 2024

Improves usability of tab switching and tab closing a bit.

Also adds new action SwitchToPreviousTab to bind some input mapping to, to easily switch between two tabs that are not necessarily next to each other.

I also refactored the code around it for better clarity.

@github-actions github-actions bot added the frontend Contour Terminal Emulator (GUI frontend) label Dec 31, 2024
@christianparpart christianparpart force-pushed the improvement/tab-switching branch from 626db70 to 6c89d1a Compare December 31, 2024 01:16
@christianparpart christianparpart force-pushed the improvement/tab-switching branch from 6c89d1a to ee40f19 Compare December 31, 2024 01:40
Copy link
Member

@Yaraslaut Yaraslaut left a comment

Choose a reason for hiding this comment

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

Great addition, some minor things

src/contour/TerminalSessionManager.cpp Outdated Show resolved Hide resolved
src/contour/TerminalSessionManager.cpp Outdated Show resolved Hide resolved
@christianparpart christianparpart force-pushed the improvement/tab-switching branch from 8fff1f5 to ef5c214 Compare December 31, 2024 13:36
Signed-off-by: Christian Parpart <[email protected]>
@christianparpart christianparpart merged commit aec38b9 into master Dec 31, 2024
20 checks passed
@christianparpart christianparpart deleted the improvement/tab-switching branch December 31, 2024 15:28
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)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants