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

@@ -1,7 +1,7 @@
use ghostty_vt::{color::Rgb, sgr::Attribute};
use super::*;
use crate::page::{Cell, Wide};
use ghostty_vt::color::Rgb;
use ghostty_vt::sgr::Attribute;
fn c(t: &Terminal, x: u16, y: u32) -> Cell {
cell_at(t, pt_screen(x, y))
@@ -1,9 +1,7 @@
use ghostty_vt::{color::Rgb, modes::Mode, sgr::Attribute as A};
use super::*;
use crate::page::ContentTag;
use crate::point::Tag;
use ghostty_vt::color::Rgb;
use ghostty_vt::modes::Mode;
use ghostty_vt::sgr::Attribute as A;
use crate::{page::ContentTag, point::Tag};
fn cr_lf(t: &mut Terminal) {
t.carriage_return();
@@ -1,6 +1,6 @@
use ghostty_vt::{color::Rgb, sgr::Attribute as A};
use super::*;
use ghostty_vt::color::Rgb;
use ghostty_vt::sgr::Attribute as A;
const RED: Rgb = Rgb {
r: 0xFF,
@@ -1,7 +1,7 @@
use ghostty_vt::{color::Rgb, sgr::Attribute};
use super::*;
use crate::page::ContentTag;
use ghostty_vt::color::Rgb;
use ghostty_vt::sgr::Attribute;
fn prints(t: &mut Terminal, s: &str) {
for c in s.chars() {
@@ -1,8 +1,7 @@
use ghostty_vt::{charsets::Slots, color::Rgb, sgr::Attribute};
use super::*;
use crate::page::{ContentTag, Wide};
use ghostty_vt::charsets::Slots;
use ghostty_vt::color::Rgb;
use ghostty_vt::sgr::Attribute;
/// Zig `for ("...") |c| try t.print(c)`.
fn pr(t: &mut Terminal, s: &str) {
@@ -1,5 +1,3 @@
use super::*;
use crate::page::{ContentTag, SemanticContent, SemanticPrompt as RowPrompt};
use ghostty_vt::{
ansi::ProtectedMode,
color::Rgb,
@@ -8,6 +6,9 @@ use ghostty_vt::{
sgr::{Attribute as A, Underline},
};
use super::*;
use crate::page::{ContentTag, SemanticContent, SemanticPrompt as RowPrompt};
fn pr(t: &mut Terminal, s: &str) {
for c in s.chars() {
t.print(u32::from(c)).unwrap();
@@ -1,12 +1,17 @@
use ghostty_vt::{
color::Rgb,
osc::{
SemanticPrompt as Cmd,
semantic_prompt::{Action as A, Click},
},
sgr::Attribute,
};
use super::*;
use crate::page::{ContentTag, SemanticContent, SemanticPrompt as RowPrompt};
use crate::screen::SemanticClick;
use ghostty_vt::color::Rgb;
use ghostty_vt::osc::{
SemanticPrompt as Cmd,
semantic_prompt::{Action as A, Click},
use crate::{
page::{ContentTag, SemanticContent, SemanticPrompt as RowPrompt},
screen::SemanticClick,
};
use ghostty_vt::sgr::Attribute;
fn sp(a: A) -> Cmd {
Cmd::init(a)