Skip to content

馃毀 Change mod.rs - #6

Merged
MayBeLinux merged 2 commits into
masterfrom
features
Dec 3, 2025
Merged

MayBeLinux merged 2 commits into
masterfrom
features

Conversation

@MayBeLinux

Copy link
Copy Markdown
Owner

This pull request makes a minor change to the terminal restoration logic in the run_tui function. The change appears to add an unintended character (x) after the call to LeaveAlternateScreen, which may be a typo.

  • Added an extraneous x character after the LeaveAlternateScreen terminal command in src/display/mod.rs, which should be reviewed and possibly removed.

Comment thread src/display/mod.rs Outdated
// 5. Restaurer l'茅tats initial du terminal
disable_raw_mode()?;
stdout().execute(LeaveAlternateScreen)?;
stdout().execute(LeaveAlternateScreen)?;x

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

remove the "x" on the line 41

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This pull request introduces a syntax error in the terminal restoration logic within the run_tui function. An extraneous character x has been added at the end of a statement that executes the LeaveAlternateScreen command, which will break compilation.

Key Changes

  • Added an invalid character x to the end of the stdout().execute(LeaveAlternateScreen)?; statement, creating a syntax error

馃挕 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/display/mod.rs Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@MayBeLinux
MayBeLinux merged commit b33e390 into master Dec 3, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants