Skip to content

馃毀 Change mod.rs - #4

Closed
MayBeLinux wants to merge 1 commit into
masterfrom
features
Closed

MayBeLinux wants to merge 1 commit into
masterfrom
features

Conversation

@MayBeLinux

Copy link
Copy Markdown
Owner

Open this PR the mod.rs file was changed

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 PR modifies the mod.rs file in the display module but introduces a syntax error by adding an extraneous 'x' character to a line that restores the terminal state. The change appears to be accidental rather than intentional.

Key Changes

  • Modified line 41 in src/display/mod.rs by appending an 'x' character to the end of the stdout().execute(LeaveAlternateScreen)?; statement

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

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

Copilot AI Dec 2, 2025

Copy link

Choose a reason for hiding this comment

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

The trailing 'x' character at the end of this line will cause a syntax error. This appears to be an accidental character that should be removed.

Suggested change
stdout().execute(LeaveAlternateScreen)?;x
stdout().execute(LeaveAlternateScreen)?;

Copilot uses AI. Check for mistakes.
@MayBeLinux

Copy link
Copy Markdown
Owner Author

@copilot

@MayBeLinux MayBeLinux closed this Dec 2, 2025
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