Windows was previously only compile-checked. With Wine 11 (staging) and mingw available, scripts/windows-wine-test.sh (`just test-windows-wine`) builds expat/FreeType/fontconfig for mingw under target/wine-deps and runs the test suites of ghostty-vt, unicode, datastruct, input, os, config, terminal, crash, termio and cli under Wine (~2,700 tests). New termio/tests/exec_windows.rs drives real cmd.exe children over ConPTY through Termio (output, exit codes, typing, 120 KiB writes, stop, start failure). Fixes found: Windows paths from fs::canonicalize leaked the \\?\ prefix (new ghostty_os::path::realpath strips it like Zig); ghostty-font compiles hb-ft for bundled HarfBuzz on Windows; ~25 tests had Unix assumptions. Wine limitations are ignored with reasons (ResizePseudoConsole stub, no POSIX rename over existing files) - docs/rewrite/notes/windows-wine.md. +list-themes preview parity (former KNOWN_DIFFERENCES rows 5-9): the search box ports vaxis TextInput (word navigation and editing bindings, grapheme-wise editing), ASCII-only case folding, light initial colors until terminal reports arrive (no COLORFGBG), and load errors end the preview with exit 1; PTY tests compare with /usr/bin/ghostty. Test Plan: - just test-windows-wine - cargo test -p ghostty-cli --test list_themes_pty - cargo test --workspace --no-fail-fast (3601 passed)
38 lines
826 B
TOML
38 lines
826 B
TOML
[package]
|
|
name = "ghostty-cli"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
|
|
[features]
|
|
# Select the FreeType-only font backend (no font discovery), like
|
|
# `-Dfont-backend=freetype`.
|
|
font-backend-freetype = ["ghostty-font/font-backend-freetype"]
|
|
|
|
[dependencies]
|
|
flate2 = "1.1.10"
|
|
ghostty-build-info.workspace = true
|
|
ghostty-apprt.workspace = true
|
|
ghostty-config.workspace = true
|
|
ghostty-crash.workspace = true
|
|
ghostty-font.workspace = true
|
|
ghostty-input.workspace = true
|
|
ghostty-os.workspace = true
|
|
ghostty-vt.workspace = true
|
|
log = "0.4.34"
|
|
ratatui = "0.30.2"
|
|
termina = "0.3.3"
|
|
thiserror = "2.0.21"
|
|
unicode-width = "0.2.2"
|
|
unicode-segmentation = "1.13.3"
|
|
|
|
[build-dependencies]
|
|
ghostty-helpgen.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.27.0"
|
|
temp-env = "0.3.6"
|