Files
nyaterm/scripts
Kang 488cb1d511 refactor: X11 and Zmodem modules for improved readability and performance
- Simplified the display specification resolution in `x11.rs` by replacing `unwrap_or_else` with `unwrap_or`.
- Enhanced cookie parsing logic in `x11.rs` using pattern matching for cleaner code.
- Added a default implementation for `ZmodemDetector` in `zmodem.rs`.
- Streamlined event handling in `ZmodemTransfer` by utilizing pattern matching in `if let` statements.
- Updated documentation to reflect changes in architecture and module organization.
- Removed unused imports and ensured all modules adhere to the new import guidelines.
- Cleared all `use super::*` imports in both desktop and terminal-GPUI crates.
- Enforced explicit imports in test modules to maintain clear dependencies.
2026-07-30 08:38:13 +08:00
..