refactor: Updated to the most recent Rust version with 2024 syntax

This commit is contained in:
Dark-Alex-17 committed 2025-11-07 15:50:55 -07:00
1 parent ed6c3ae431
commit dbf7329e87
44 files changed
+377 -371

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
use anyhow::Result;
use crossterm::event::{self, Event, KeyCode, KeyEvent, KeyModifiers};
use crossterm::terminal::{disable_raw_mode, enable_raw_mode};
use std::io::{stdout, Write};
use std::io::{Write, stdout};
/// Reads a single character from stdin without requiring Enter
/// Returns the character if it's one of the valid options, or the default if Enter is pressed