Skip to content

Pretty v0.2.0-pre.1

Pre-release
Pre-release

Choose a tag to compare

@mappingAu mappingAu released this 11 Nov 03:32
· 14 commits to main since this release

Pretty v0.2.0-pre.1

Hardware-accelerated, kitty-compatible terminal emulator. This is a
pre-release: Linux has runtime GUI evidence on the build host, macOS and
Windows binaries are built and unit-tested natively by CI (no GUI was
launched there), and Android remains compile-only with no APK.

Tag: v0.2.0-pre.1 → commit 433e090.
Native CI run: 42954835642
(Linux, Windows MSVC/DX12 and macOS arm64/Metal jobs all succeeded).

Highlights

UI and configuration (kitty-level)

  • New Tab bar settings tab: edge (top/bottom), style (separator/fade/
    powerline), alignment, minimum tabs, horizontal scrolling, label templates
    ({index} 1-based, {title}, {count}) and bar/active/inactive colours.
  • Cursor opacity and block-cursor text colour, dim-text strength, focused/
    inactive pane border colours, scrollbar policy (always/scrolled/never),
    wheel multiplier/minimum lines, pointer auto-hide, focus-follows-mouse,
    remember-window-size and hide-window-decorations.
  • padding/gap = 0 are valid values again (validation used to reset them).
  • Settings UX: auto/clear colour swatches, kitty-key tooltips, two-click
    Reset all settings, correctly sized panel at ui_scale 1.5+ (footer used
    to be clipped), Chinese translations for all new labels.
  • Live application: padding/line-height/font-feature changes update cell
    metrics without an atlas rebuild; scrollback changes apply to every open
    pane; font family/size rebuild the atlas live.

Cursor blink (verified fix)

The intermittent flicker that only appeared while moving the mouse was
reproduced with 60 fps window capture: the old event-loop-only timer starved
and produced phases of 1050/1000/5783 ms. A 16 ms timer-thread tick plus a
phase advance on every presented frame fixes the starvation; instrumented
traces then exposed a second defect (a ~35 ms follow-up phase from drift
correction), now prevented by resynchronising below half an interval.
Verified with idle and human-paced mouse-movement recordings (533/500 ms
phases) and a 3000-event burst trace (38 toggles, 529.9 ms average, zero
phases < 200 ms). Evidence: docs/TEST-REPORT-V0.2.0.md §12 and
docs/screenshots/cursor-blink-*.gif.

DPI

Tab bar, settings, menus, context menu and IME cursor are laid out in logical
points and converted exactly once. Screenshots at scale factors 1.0/1.25/1.5/2.0
and ui_scale 1.5 are in docs/screenshots/ (dpi-*, tabbar-*), with the
settings footer verified inside the window. Mixed-DPI/multi-monitor and native
Wayland fractional scaling were not exercised.

Cross-platform

  • Typed BackendError gates for Metal/Direct3D 12 and one
    RendererKind -> wgpu::Backend mapping shared by probe and surface setup;
    format/alpha/present policy is shared. No silent backend fallback.
  • New XDG/AppData/Application-Support/Android path resolver; config, CJK font
    candidates and the kitty.conf hint now use it.
  • Android android_main NativeActivity entry (compile-checked; no APK).
  • scripts/cross-check.sh records per-check commands, stdout/stderr and exit
    codes. Final run: pass=11, skip=0, fail=0 (Windows MSVC/GNU, macOS
    x86_64/arm64, Android arm64 cargo check; host Vulkan/GLES/Metal/DX feature
    tests). Cross-target checks are compile-only on this host; the attached
    Windows/macOS binaries come from the native CI run above.

QA fixes (core, renderer, app)

  • Core: bounded kitty-graphics error echo; full-scrollback select_all;
    kitty-keyboard spec fixes (shifted key code, legacy Enter/Tab/Backspace,
    flag-2 text keys, ctrl+Backspace, alt+Tab); APC terminator split across
    reads; no spurious title reset on scrollback changes; PTY drop deadlock
    fixed; PtySession::try_wait.
  • Renderer: bounded font-fallback memory (dedupe + caps + bounded caches),
    live metric changes, hidden cells keep explicit backgrounds, atlas
    exhaustion logged once with failed-glyph caching.
  • App: dead panes are removed when the child exits (verified with exit in a
    split pane); mouse release outside the pane is routed back to the pane that
    received the press; live scrollback; invalid --renderer/PRETTY_RENDERER
    exits 1; --help lists --import-kitty-conf/--allow-software;
    CommandLineToArgvW-safe Windows quoting, with % paths refused.

Artifacts

Asset Origin
pretty-0.2.0-linux-x86_64.tar.gz local build, relocatable tree with install.sh, terminfo, desktop/icon/man and docs
pretty-terminal_0.2.0_amd64.deb local build (Debian/Ubuntu)
pretty-terminal-0.2.0-1.fc44.x86_64.rpm local build (Fedora/RHEL)
pretty-0.2.0-windows-x86_64.zip native CI windows-latest, DX12 feature
pretty-0.2.0-macos-arm64.app.tar.gz native CI macos-latest, Metal feature, Pretty.app bundle
pretty-0.2.0-macos-arm64.tar.gz native CI macOS CLI tarball
pretty-0.2.0-source.tar.gz git archive of v0.2.0-pre.1
print-info-*.txt CI --print-info output (backend/GPU diagnostics)
SHA256SUMS checksums for all assets above

All Linux packages and the source archive were rebuilt from the tagged tree;
the Windows/macOS packages were built by CI from commit 433e090 (the tagged
commit) and downloaded from the run above. Checksums were verified locally.

Verification

cargo test --workspace    # 42 app + 61 core + 9 audit + 2 PTY (+1 ignored)
                          # + 4 QA + 15 renderer tests, exit 0
scripts/cross-check.sh    # pass=11 skip=0 fail=0 (compile-only cross targets)

Known limitations (see docs/KNOWN-ISSUES.md)

  • Windows/macOS GUI runtime is not tested on physical hardware; CI compiles,
    unit-tests and packages those builds but does not launch the GUI. Android has
    no APK packaging.
  • Tab title templates support {index}/{title}/{count} only (no kitty
    Python expressions); cursor trails and background images are not implemented.
  • Native Wayland fractional scaling and mixed-DPI multi-monitor are untested.
  • Image z-order is only under-text/over-text (no ordering between images).
  • The GLES backend still uses X11/XWayland on this NVIDIA driver.