Skip to content

Fix multiple windows and tabs support #1739

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Yaraslaut
Copy link
Member

@Yaraslaut Yaraslaut commented Mar 23, 2025

closes #1725
closes #1728
closes #1729
closes #1730

@github-actions github-actions bot added VT: Backend Virtual Terminal Backend (libterminal API) frontend Contour Terminal Emulator (GUI frontend) labels Mar 23, 2025
@Yaraslaut Yaraslaut force-pushed the fix/tabs_and_multiple_windows branch 2 times, most recently from 205b526 to b1a89f7 Compare March 26, 2025 21:39
@Yaraslaut Yaraslaut changed the title initial take on multiple windows support Fix multiple windows and tabs support Mar 26, 2025
@Yaraslaut Yaraslaut requested a review from Copilot April 4, 2025 20:26
@Yaraslaut Yaraslaut marked this pull request as ready for review April 4, 2025 20:27
@Yaraslaut Yaraslaut force-pushed the fix/tabs_and_multiple_windows branch from b1a89f7 to 502cd09 Compare April 4, 2025 20:27
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 10 out of 11 changed files in this pull request and generated 2 comments.

Files not reviewed (1)
  • metainfo.xml: Language not supported

@@ -107,7 +107,7 @@ inline void set_fail_handler(fail_handler_t handler)
#define Require(cond) \
do \
{ \
if (!(cond)) \
if (false && !(cond)) \
Copy link
Preview

Copilot AI Apr 4, 2025

Choose a reason for hiding this comment

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

Disabling the assertion check by using 'false &&' will prevent any failure from being caught. Consider restoring the original condition to enforce the intended preconditions.

Suggested change
if (false && !(cond)) \
if (!(cond)) \

Copilot uses AI. Check for mistakes.

{
managerLog()("Session is already active. (index {}, ID {})", getCurrentSessionIndex(), session->id());
return session;
managerLog()("No active display fond. something went wrong.");
Copy link
Preview

Copilot AI Apr 4, 2025

Choose a reason for hiding this comment

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

There is a typo in the error message: 'fond' should be 'found'.

Suggested change
managerLog()("No active display fond. something went wrong.");
managerLog()("No active display found. something went wrong.");

Copilot uses AI. Check for mistakes.

@Yaraslaut Yaraslaut force-pushed the fix/tabs_and_multiple_windows branch from 502cd09 to 6c4e0c3 Compare April 15, 2025 18:19
@Yaraslaut Yaraslaut force-pushed the fix/tabs_and_multiple_windows branch from 6c4e0c3 to 5723019 Compare April 16, 2025 15:43
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
1 participant