rustimal 0.2.4

A minimal, GPU-rendered terminal for Windows that runs Git Bash, with animated split panes and a glass look
rustimal-0.2.4 is not a library.

rustimal

A minimal, GPU-rendered terminal for Windows that runs Git Bash, with animated split panes.

  • Terminal emulation: alacritty_terminal (VT parser, grid, scrollback, ConPTY)
  • Rendering: wgpu (DX12) with one instanced-quad shader. Text goes through a glyph atlas built with cosmic-text, and box-drawing/block characters are drawn procedurally so lines join without gaps
  • Window: winit, with a custom title bar and a blurred, see-through "liquid glass" backdrop

Install

Needs Windows 10 or later, Git for Windows (rustimal runs Git Bash, and falls back to PowerShell without it) and Rust 1.90+.

cargo install rustimal    # builds and puts rustimal.exe in ~\.cargo\bin
rustimal --install        # adds the Start menu, right-click and Win+R entries

rustimal --install --desktop also adds a desktop shortcut, and rustimal --uninstall removes the entries again (the exe and your config stay). To update, run cargo install rustimal again; the entries point at the exe in ~\.cargo\bin, so there's nothing to redo.

rustimal --install adds:

  • a Start menu entry (pin it to the taskbar from there)
  • Open in rustimal in Explorer's right-click menu, for folders, folder backgrounds and drives
  • rustimal in Win+R

From a clone of the repo, .\install.ps1 does the same but builds the repo and copies the exe to %LOCALAPPDATA%\Programs ustimal (add -Desktop for a desktop shortcut, -Uninstall to remove). Re-run it after pulling changes; it works even while rustimal is open.

Build & run (dev)

cargo build --release
./target/release/rustimal.exe [start-directory]

Shortcuts

Keys Action
Ctrl+Shift+←/→/↑/↓ Split the focused pane in that direction
Alt+Shift+←/→/↑/↓ Move the nearest divider (resize)
Alt+←/→/↑/↓ Move focus to the neighbouring pane
Ctrl+Shift+W Close the focused pane
Ctrl+C Copy if text is selected, otherwise interrupt
Ctrl+Shift+C Copy
Ctrl+V / Ctrl+Shift+V / Shift+Insert Paste (passes ^V through when the clipboard holds an image)
Shift+Enter Newline (for Claude Code)
Ctrl+= / Ctrl+- / Ctrl+0 Font size bigger / smaller / reset
Shift+PgUp/PgDn/Home/End Scroll back

Mouse: drag to select (double-click selects a word, triple-click a line). Right-click copies the selection, or pastes if nothing is selected. Middle-click pastes. The wheel scrolls the pane under the pointer.

New panes open in the focused pane's directory.

Shell integration (bash)

rustimal loads a small script through PROMPT_COMMAND, so your normal Git Bash login setup still runs. It does four things:

  • Prompt: replaces the prompt with folder branch ❯. The chevron turns red when the last command fails.
  • Header: reports the current folder, which appears in the title bar and is used for new splits.
  • Claude: wraps claude. Running it with no arguments opens a session picker over the pane, listing your past sessions for that folder (read from ~/.claude/projects). Type to filter, then press Enter to resume a session or start a new one. With arguments (claude -c, claude -p …), it passes through unchanged.
  • PATH: when an installer changes PATH in the Windows registry, open shells pick it up before your next command, with no restart. rustimal watches the registry and Git Bash's own folders stay in front. (New panes always start with the PATH from the registry, even if Explorer's copy is out of date.) This uses the DEBUG trap, unless something like bash-preexec already does; then it applies at the next prompt instead.

While Claude runs, the pane gets a warm focus ring, Claude's grays are re-tinted to match the theme, and the header shows the session topic.

A usage bar sits at the bottom of every Claude pane. It shows the model, 5-hour and weekly plan usage with time until reset, context window fill, and lines changed. The meters go green, then amber, then red as they fill.

How it gets the data: when you start Claude from rustimal, it passes an extra --settings file that sets a small status-line script. Claude hands that script its session data, and rustimal reads it. Your own Claude settings aren't changed. Usage is per account, so the last numbers are cached in %APPDATA%\rustimal\state and a new session shows them before its first reply.

Turn this off with shell_integration = false in the config.

Config

%APPDATA%\rustimal\config.toml is created with commented defaults on first run. You can set the font, size, line height, shell, padding/gap/radius, animation speed (0 turns animations off), glass, and the color theme.

Glass

The window is see-through, with the desktop behind it blurred by Windows. Panes are tinted glass with lit edges: a crisp rim (brightest where light hits from the top left) inside a dark hairline, so the edge reads over light and dark backgrounds alike, and a soft glow inside. The focused pane's rim takes the accent color (warm for Claude).

  • glass_opacity (default 0.66) sets how solid the panes are. Raise it if busy wallpapers make text hard to read.
  • glass = false turns it off and brings back the solid look.

Windows 10 uses the compositor's blur. Windows 11 22H2 and later get the system acrylic backdrop, which hasn't been tested yet.