style: apply nightly rustfmt import grouping across the workspace

rustfmt.toml sets group_imports, imports_granularity and imports_layout,
which are nightly-only; agents formatted with stable rustfmt, which
ignored them. This is a formatting-only pass with `cargo +nightly fmt`.

Test Plan:
- cargo clippy --workspace --all-targets -- -D warnings
- cargo test --workspace
This commit is contained in:
ddidderr committed 2026-10-12 05:03:37 +02:00
1 parent 3fd4ea6ae9
commit 126da77a37
259 files changed
+2495 -1547

No files matched your search

+15 -7
View File
@@ -12,12 +12,6 @@
//! output and doesn't need to respond (since it maybe isn't running the
//! actual program), this is the stream type to use. For example, this is
//! ideal for replay tooling, CI logs, PaaS builder output, etc.
use crate::{
cursor::Style as CursorStyle,
terminal::{
DeccolmMode, Error, MouseEvents, MouseFormat, MouseShiftCapture, SwitchScreenMode, Terminal,
},
};
use ghostty_vt::{
ansi::{CursorStyle as AnsiCursorStyle, ModifyKeyFormat, ProtectedMode},
color::Dynamic as DynamicColor,
@@ -28,6 +22,19 @@ use ghostty_vt::{
stream::{self, Action},
};
use crate::{
cursor::Style as CursorStyle,
terminal::{
DeccolmMode,
Error,
MouseEvents,
MouseFormat,
MouseShiftCapture,
SwitchScreenMode,
Terminal,
},
};
/// The stream type wrapping [`Handler`].
pub type Stream<'a> = stream::Stream<Handler<'a>>;
@@ -450,9 +457,10 @@ impl stream::Handler for Handler<'_> {
#[cfg(test)]
mod tests {
use ghostty_vt::osc::semantic_prompt::Redraw;
use super::*;
use crate::{page::SemanticContent, screen_set::Key as ScreenKey, terminal::Options};
use ghostty_vt::osc::semantic_prompt::Redraw;
fn term(cols: u16, rows: u16) -> Terminal {
Terminal::new(Options::new(cols, rows)).unwrap()