rustimal 0.8.0

A minimal, GPU-rendered terminal for Windows that runs Git Bash, with animated split panes and a glass look
rustimal-0.8.0 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 rustimal --update (see Updating below); 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\rustimal (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]

Source layout

src/
  main.rs, cli.rs        startup, and the `--install`/`--update`/`--browser`... commands
  app/                   the window and everything that drives it
    mod.rs               App and State, the event loop's entry points
    actions, keyboard, pointer, overlays, panes, session, frame, reload, term_events
                         one file per concern, all `impl App`
    host.rs, web/        programs shown in a pane: other programs' windows, VS Code, T3 Code
  terminal/              a pane's terminal: pane, events, embeds, prompt reading, layout
                         (and saved layouts), search, links, typing commands into a shell
  render/                drawing: the frame, panes, title bar, picker; gpu, glyphs, boxdraw
  ui/                    overlays, command palette, settings, session picker, animation
  config/                config file, key bindings (keys), color themes
  platform/              Windows plumbing: win32 (shared calls), process, winenv, hotkey, glass, icon
  programs/              hosted (other programs' windows), browser, vscode, t3
  agent/                 the `do` conversation (chat) and Claude Code's session state
  review/, review_ui/    the review engine, and its panel
  shell/                 the bash integration that is written to the config folder

Bumping the version

From the repository's root:

cargo bump              # 0.6.0 -> 0.6.1
cargo bump minor        # 0.6.1 -> 0.7.0   (or `major`, or an exact newer version: 0.8.0)
cargo bump -n minor     # only say what it would be

It changes the version in Cargo.toml and Cargo.lock and commits only those two files; --no-commit leaves them uncommitted. It refuses a version that isn't newer, or to commit over other uncommitted changes in those files. It doesn't push or publish (cargo publish does that, and rustimal --update only sees published versions). Its tests: cargo test --manifest-path tools/bump/Cargo.toml --target-dir target/bump.

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 (a web app or review showing over it is closed first)
Ctrl+Shift+Z Zoom the focused pane to the whole window; again to bring the others back
Ctrl+Shift+P Command palette
Ctrl+Shift+T or Alt+T Switch the pane between its terminal and whatever is open over it: VS Code, T3 Code, an embedded program, a review or the do conversation
Ctrl+Shift+R / Ctrl+Shift+B Switch the pane between a review (or Git) and the terminal (see Reviewing changes)
Ctrl+Shift+I Switch the pane between VS Code and the terminal (see VS Code)
Ctrl+Shift+A Switch the pane between the do conversation and the terminal (see do)
Ctrl+, Settings
Ctrl+A Select the command line being typed
Shift+←/→ (Ctrl+Shift+←/→, Shift+Home/End) Select by character (by word, to the ends of the line) while typing a command
Ctrl+Shift+F Find in the pane's screen and scrollback
Ctrl+Shift+O Copy the last command's output
Ctrl+Shift+E Open the pane's folder in Explorer
Backspace twice At an empty prompt, go up a folder (cd .. && ls)
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

Every one of these can be changed in Settings (the Shortcuts tab), or with a [keys] table in config.toml (see Config).

Mouse: click on the command line you're typing to move the cursor there, and drag to move it with the mouse. Double-click and drag selects text with the cursor following the mouse (it works like a text field; typing replaces the selection). Elsewhere, drag to select (double-click selects a word, triple-click a line; triple-click works on the command line too). Right-click copies the selection, or pastes if nothing is selected; on a link it opens a menu instead. Middle-click pastes. The wheel scrolls the pane under the pointer. Drop a file on a pane to type its path.

New panes open in the focused pane's directory.

Editing the command line

The command you're typing behaves like a text field:

  • Shift+←/→ selects a character at a time, Ctrl+Shift+←/→ a word at a time (words stop at separators, so src/main.rs is src, /, main, ., rs), and Shift+Home/End to the start or end of the line. The selection is highlighted and the cursor moves with it.
  • Ctrl+A selects the whole command line, and nothing else. With nothing typed it does nothing special (the key goes to the shell).
  • With something selected, typing or pasting replaces it, Backspace or Delete deletes it, Ctrl+X cuts it, Ctrl+C copies it, and ←/→ drop the selection with the cursor at that end of it.

Ctrl+Shift+←/→ (split the pane) and Shift+Home/End (scroll) keep those jobs when nothing is typed at the prompt; once there is a command to select, they select. Programs that have the screen (vim, less, Claude) get every key as before, and Ctrl+A goes to them too. This needs the shell integration, and a command that wraps onto a second row isn't covered. Don't want Ctrl+A to select? Rebind or clear select_all in Settings.

Find

Ctrl+Shift+F opens a search bar in the focused pane. Type to search the screen and all scrollback; matches are highlighted and the current one is scrolled into view. Enter jumps to the next older match, Shift+Enter to the next newer one, and Esc closes the bar. The search ignores case unless your query has a capital letter, and a match never spans a wrapped line.

Links

Hover a URL, a file or a folder in the output and it's underlined; click it to open it. This covers https:// links and OSC 8 hyperlinks, paths like src/main.rs:12:5 (relative to the pane's folder, absolute, ~/… or Git Bash /c/…), the names ls prints (including ls -F markers and quoted names with spaces), and the folder in the prompt, which opens in Explorer. Only things that exist on disk are links, and only names in the pane's own folder are found, so the entries of ls some/other/dir aren't clickable.

Clicking a name that ls printed works like typing the command: a folder runs cd folder && ls, and a readable text file (txt, md, json, jsx, js, ts, css, html, yaml, toml, rs, py, sh and other code, or a file with no extension, up to 1 MB and without binary content) runs cat file. The command is typed at an empty prompt (a click right after another command waits for it), read back from the screen, and only run once it shows up intact; if it doesn't, rustimal clears the line and tries again, and after a few tries opens the item instead. Other files (images, PDFs, …), and clicks while a program has been running for a few seconds or has the screen to itself (vim, Claude), open with the default app instead. Ctrl+click always opens in Explorer or the default app.

Programs, scripts and shortcuts are never run by a plain click: they're shown in Explorer instead. Hold a key to say what you want done with a name, a path or an address, in the same way for all of them:

Click Does
Ctrl+click Show it in Explorer (a folder opens, a file is selected in its folder)
Alt+click Run it, in the shell: a program runs, a script goes through its interpreter, a shortcut or other file opens with Windows; a folder is entered and a text file printed
Shift+click Show it in the pane: a program with embed, a folder or text file in VS Code, an address in the browser (zen URL)

When the shell is busy, or there is nothing to type (a shortcut can't be embedded), the click just opens the thing as it always has.

Programs that use the mouse (vim, htop) keep their plain clicks; hold Ctrl to click links there. To always require Ctrl, set links_need_ctrl = true.

open in the shell opens the current folder in Explorer, open path opens a file or folder with its default app, and open https://… opens a URL. open app.css:20 (or app.css:20:5) opens the file in your editor at that line, using the editor setting (VS Code in the pane by default, see VS Code); rustimal --open app.css:20 does the same from any shell. (Shells started before you updated don't have it until you open a new pane.)

Notifications

When a command that ran for 10 seconds or more finishes while rustimal is in the background, its taskbar button flashes and the window title (the taskbar tooltip) says what finished and how long it took. The same happens when Claude finishes a reply. Focusing the window clears it. Set notify_after_secs to change the threshold, or to 0 to turn it off.

Command palette and settings

Ctrl+Shift+P opens the command palette: type a few letters of anything rustimal can do (every shortcut is in it, with its keys) and press Enter. It also reloads or opens the config file, restores layouts, and updates rustimal.

Ctrl+, opens Settings, with three tabs:

  • Features: switches and numbers for the glass look, animations, the font, padding, scrollback, notifications, links, the editor, the global hotkey and more. Click a switch, use -/+ or the arrow keys, or press Enter to type a value.
  • Theme: ready-made color sets (Rustimal dark, Light, Solarized dark, Nord, Dracula, Gruvbox dark) and every color, each editable as #rrggbb.
  • Shortcuts: every action and its keys. Select one, press Enter, then press the new keys. Delete restores a default.

Changes apply as you make them and are saved to config.toml, which keeps only what differs from the defaults (your hand-written file is kept once as config.toml.bak). Editing config.toml by hand works too: rustimal notices and applies it without a restart. A few settings (the glass window, the shell integration) take effect the next time rustimal starts.

Layouts

A layout is a set of panes with their folders. rustimal reopens the last session's layout when it starts without a folder (restore_session = true).

To keep one, type a name in the command palette and choose "Save the layout as …". Saved layouts are listed in the palette as "Layout: name", and rustimal --layout name opens one at startup. They are JSON files in %APPDATA%\rustimal\layouts ("Open the folder of saved layouts" in the palette), so you can also write one by hand and give panes a command to run:

{ "root": { "split": "right", "ratio": 0.5,
            "a": { "cwd": "C:/work/frontend", "run": "npm run dev" },
            "b": { "split": "down",
                   "a": { "cwd": "C:/work/backend", "run": "cargo watch -x run" },
                   "b": { "cwd": "C:/work", "run": "claude" } } } }

A pane is { "cwd": ..., "run": ... } (both optional). A split puts a and b side by side ("right") or stacked ("down"), at ratio. Commands are typed into the shell once it is ready, and checked like clicks are. Up to 12 panes.

Errors, editors and the right-click menu

Compiler errors and stack traces are links to the exact place: src/main.rs:12:5 (rustc, gcc, Go, Node), src/app.ts(12,5) (tsc), at fn (C:\proj\a.js:3:9) and file:/// URLs (Node), File "x.py", line 12 (Python) and ./src/a.js 12:5 (webpack). Paths relative to the project root are found from any folder below it. Clicking one opens your editor at that line, by default VS Code in that pane (see VS Code): the editor setting is the command to run, code -g "{file}:{line}:{col}" by default (VS Code); empty uses the default app. If the command fails, the file opens in the default app.

Right-click a link or a name in an ls listing for a menu: open, go into the folder or print the file, show in Explorer, copy the path.

Copying output, dragging files

Ctrl+Shift+O copies everything the last command printed (found from the prompts on screen, so it works as far back as the scrollback goes).

Drop a file or folder on a pane and its path is typed at the cursor: in Git Bash form (/c/Users/me/a b.txt, quoted when needed), or as a quoted Windows path in a Claude pane.

Global hotkey

Set hotkey = "ctrl+alt+space" (or pick it in Settings) and that key shows rustimal from anywhere, and hides it again when it's in front. With dropdown = true it docks across the top of the screen, dropdown_height tall, like a drop-down terminal. The key needs Ctrl, Alt or Shift (or Win, when written in config.toml), so it can't take a plain key away from every program. If another program already has it, rustimal says so in its log and carries on.

Reviewing changes

rustimal --review reads a change and tells you what to look for and how to test it by hand. It prints findings the way the Rust compiler does: a code, the exact line, why it matters, what to check, how to test it and how to fix it. It ends with one manual test plan, most important steps first. It knows Tauri and Laravel projects and suggests the commands your project actually uses (pnpm, Pest, Sail).

rustimal --review                       # this branch against origin's main branch
rustimal --review origin/develop        # ... against another base
rustimal --review --uncommitted         # work in progress, new files included
rustimal --review --staged
rustimal --review --desc pr.md          # hold the PR description against the diff
git diff main... | rustimal --review --diff -
rustimal --review --explain LAR001      # what a finding means; without a code, list all

--json gives the same report for scripts.

  • Tauri: a weakened CSP, broad capability permissions, commands missing from generate_handler!, invoke() calls to commands that don't exist (with "did you mean"), changed command signatures and their call sites, identifier changes, crate and npm version drift.
  • Laravel: destructive or edited migrations, empty down(), data-changing routes with no auth in sight, removed authorization checks, mass assignment, SQL built from variables, {!! !!}, forms without @csrf, validation edges, env() outside config, undocumented variables, queued job shape changes.
  • Any project: possible secrets, committed .env files, conflict markers, debug calls, lock files out of step, missing tests.
  • Description: unticked checklist items, no test plan, tests claimed but absent, migrations or new variables it doesn't mention, no screenshot for UI changes, issues to verify. Without --desc, a branch review reads the commit messages.

Git workspace

Ctrl+Shift+B opens Git in the current folder. pr --git opens the same view.

  • Branches: Enter switches (remote branches create a tracking branch), n creates a branch, / filters, c copies its name, p opens a new pull request for the current branch in the panel (or shows the one it has). f fetches; r refreshes locally.
  • Commits: Tab switches views. Space selects the latest commits down through the highlighted row; m moves that block to a new branch and rewinds the current branch. Enter reviews a commit; c copies its hash.
  • Recovery: u previews undo; y previews publishing the move or its undo. Enter confirms, Esc cancels. Publishing updates both branches atomically with exact force-with-lease checks. A server without atomic push support refuses the operation.

Moves require a clean worktree and a linear block of recent commits. Merges and moving the root commit are refused. Recovery records live in the repository's Git directory under rustimal; refs/rustimal/undo/* keeps the original commits reachable. Undo keeps the destination branch. Nothing is pushed until you explicitly publish.

The review panel

New pull requests: run pr new (or pr new BRANCH), choose + New pull request in the list, or press p in the Git view. While reviewing a branch, whether or not it is checked out, Open pull request (or m) starts one for that branch, into the branch it was compared with, and Esc goes back to the review. In a rustimal pane, the printed report (review --print) ends with the command that does it. rustimal suggests a title and description from the branch's commits. Edit them and the branch to merge into (Tab moves between fields), then continue to a page saying exactly what will happen. Only confirming that page does anything: it pushes the branch if the host needs it (never forced) and creates the pull request with the credentials git already has. If the host refuses, what you typed is kept. A branch that has an open pull request shows that one.

Inside rustimal, pr (or Ctrl+Shift+R) lists the open pull requests, branches and commits; pr 12 or review 12 opens a guided review.

The panel takes the pane's place, like VS Code or T3 Code, with the shell still running underneath. Everything about panes works on it: Alt+arrows move between it and its neighbours, Alt+Shift+arrows move the divider, Ctrl+Shift+Z zooms it, and Ctrl+Shift+arrows split off a terminal to work beside it. Alt+T or Ctrl+Shift+T switches the pane between it and its terminal, and Ctrl+Shift+W or ✕ closes it. Each pane can have its own. In a short pane it leaves out the progress bar and buttons to make room; their keys still work.

It has three tabs:

  • Guide: walk through the claims, setup, database changes, related areas of the app, checks across the change, and a final summary. Files, code checks and manual test steps are grouped by topic, such as settings or invoices. Enter marks the current file as read or the current step as looking fine, then advances. Use Backspace (or f) for a problem, Delete (or u) to clear a verdict, s to skip, and n to move on without a verdict. Say what went wrong when one fails. Commands in a step can be typed at the prompt. Left/right moves between stages; enter continues when a stage is done. File ticks stay until that file changes again.
  • Findings and Description, as in the report.

By keyboard: everything in the panel can be done without the mouse. The bottom line shows the keys for what is chosen, and ? (or /) lists every action there is right now: type to narrow it, arrows to choose, Enter to run, Esc to close.

Keys In a review
↑ ↓ Read on: scroll through a long diff or finding, then move to the next thing, going on into the next stage
j k Jump to the next or previous thing without reading through this one
← →, 1-9 Previous or next stage, or a stage by its number
n The next thing still to do
PgUp PgDn, Home End Scroll a page; the first or last thing of the stage (or finding, or end of the description)
Tab Guide, Findings, Description
x / v Fold the file's diff / mark it as read or unread
d The finding behind the chosen file or step. On the Findings tab, Space goes the other way, to its step
o Open the file at that line (on Description, the pull request in the browser)
c / t Copy the step's command / type it at the prompt. On Get it running, the command that switches to the change
b / r All changes / reload
Esc Back a level: close the list of actions, return to the guide, then switch to the pane's terminal

Going back to all changes keeps your place in the list. Long lines of a diff wrap, so nothing is cut off at the side. Forgetting a review's results has no key of its own; it is in the ? list, and takes two goes.

Squash and merge (q) turns the pull request's commits into one on the branch it goes into, and Merge (g) keeps them all, joined by a merge commit. Like approving, each takes two presses: the first says what is still open, including that you haven't approved it. It refuses while a step has failed, if the pull request has new commits since you loaded it, or if it isn't open any more. The host's own merge checks still apply, and its refusal is shown. rustimal doesn't ask for the source branch to be deleted; the pull request's own settings decide that. The commit message is the host's default. There is no undo from here.

Results are kept per pull request in %APPDATA%\rustimal\state\reviews, and Copy results puts them on the clipboard as Markdown for the PR. Approve (a) approves the pull request on the host with the credentials git already has. The first press says what is still open (unread files, untested steps, risks) and the second sends it. It refuses while a step has failed, or if the pull request has new commits since you loaded it. An approval belongs to the version it was given for.

The rules read the changed lines and, for some checks, your files. They don't run your code, so no findings doesn't mean the change works. Where a rule can't see everything, such as middleware set on a faraway route group, it says so.

Asking an agent: do

In a rustimal pane, do followed by a task hands it to Claude Code, or with -x to Codex. The agent runs unseen, and the pane shows the conversation in rustimal's own view: your task, small lines about what it is doing, then one line summing that up, the files it changed and its answer.

do fix the failing test in src/foo.rs
do -x why doesn't this build?

Nothing needs quoting. do is a reserved word in bash, so pressing Enter on a new line that starts with it rewrites the line to doit '...'; the do of a loop is left alone. export DO_AGENT=codex makes Codex the default (do -c then asks Claude Code). Each do <task> starts a new conversation; type in the box at the bottom to continue one.

Keys in the conversation What they do
Enter / Shift+Enter Send / new line
Esc Back to the terminal. A running task carries on, and a message says when it finishes
Ctrl+Shift+A, or do alone Return to the conversation (Ctrl+Shift+A also switches away)
Ctrl+C Stop a running task; otherwise copy the last answer (also Ctrl+Shift+C)
Ctrl+Y Allow what was just blocked, and try again
Wheel, Up/Down, PgUp/PgDn Scroll

What the agent may do:

  • File edits in the folder are applied without asking. The changed files are always listed.
  • Claude Code runs in acceptEdits mode. Anything else that would need approval is blocked and shown in full; Ctrl+Y allows exactly those commands (or that web tool) for this conversation. Your own Claude Code permission rules still apply.
  • Codex runs with its workspace-write sandbox, which lets commands write only inside the folder. It doesn't ask.

Use it in folders you trust: run this way, neither Claude Code nor Codex first asks whether you trust the folder, so a project's own agent settings can take effect. The agent needs to be installed and signed in already. Closing the pane or rustimal stops its task, and conversations aren't restored after a restart. Text in the view can't be selected with the mouse yet.

VS Code

vscode in a rustimal pane shows VS Code in that pane, for the pane's folder. The shell keeps running underneath, and Ctrl+Shift+I switches between the two.

It sits in the pane like anything else there, with no bar or buttons of rustimal's own, and rustimal's pane shortcuts work while you're in it:

Keys What they do, in VS Code or T3 Code
Ctrl+Shift+W Close VS Code; the pane and its shell stay. (VS Code on the web has no command of its own for this.)
Ctrl+Shift+T or Alt+T Switch between the terminal and what the pane has open, VS Code, T3 Code, a review or the do conversation, as you left it. With several, the one shown last. With nothing open yet, T3 Code for the pane's folder
Ctrl+Shift+I VS Code in particular: switch to it, or back to the terminal
Ctrl+Shift+arrows Split the pane
Alt+arrows / Alt+Shift+arrows Move between panes / move the divider
Ctrl+Shift+Z Zoom the pane
Ctrl+Shift+A The do conversation
Ctrl+Shift+R / Ctrl+Shift+B A review, or Git, over the pane

Where VS Code uses the same keys (Alt+Up to move a line, Ctrl+Shift+arrows to select words, Alt+T for its Terminal menu, Ctrl+Shift+B to build, Ctrl+Shift+R, Ctrl+Shift+Z and Ctrl+Shift+T), rustimal gets them. Rebind or clear an action in Settings (open it from a terminal pane) to give its keys back; views opened afterwards follow. Redo is still Ctrl+Y. As VS Code on the web does by default, it saves files as you edit them, so closing it loses nothing.

Looks: it starts dark (Dark Modern) and compact: slim activity bar and tabs, no minimap, breadcrumbs or command center, a little zoomed out, and the chat side bar closed (open it again and it stays open). These are starting settings, written to ~/.vscode-server/data/Machine/settings.json only if that file doesn't exist; change them there, in VS Code's Remote settings.

Command What it does
vscode This folder
vscode ../other Another folder
vscode src/main.rs A file, in the folder it belongs to: the one already open, else its Git checkout
vscode src/main.rs:20:5 ... at that line and column
vscode --diff a b, other options Your installed VS Code (code), as before

With the default editor = "rustimal", text files also open here from open file, open file:20, clicked links and error locations, and the review panel. Web pages, pictures, programs and folders still open as before, and Ctrl+click on a name listed by ls still uses its default app. To use another editor, set editor to its command, such as 'code -g "{file}:{line}:{col}"'. Outside a pane (rustimal --open), rustimal means code.

License, once: this is VS Code's own web version (code serve-web), run by Microsoft's VS Code Server. It has license terms of its own and is downloaded from Microsoft the first time, so the first vscode asks whether you accept them. Until you do, nothing is downloaded or started, and open and links behave as before. Saying yes is remembered in %APPDATA%\rustimal\state\vscode-license-accepted; delete that file to be asked again.

It needs VS Code installed. It is a separate copy from your desktop window, with its own settings and extensions (extensions come from the marketplace in the web version, and some desktop-only ones don't run there). The first time it opens a folder, VS Code asks whether you trust it. It starts in English unless you pick a display language in it, because for a system language without a matching translation its web server serves text that doesn't fit and labels come out scrambled.

Safety: the server listens only on this computer and every request needs a random key, since anyone who can use it has a terminal. The key is kept in your user profile while the server runs. One server serves all rustimal windows, looked after by a hidden rustimal --vscode-server process, and it stops about 15 seconds after the last window that used it closes. Every other key is VS Code's, such as Ctrl+Shift+P, Ctrl+P and F5.

Testing apps in a pane: embed

browser, zen and search show your browser in the pane, and embed does the same for any program: a Tauri or Electron app, anything native. They run the program in the pane's shell and show the window it opens inside the pane. The prompt is back at once, so the shell stays yours: Ctrl+Shift+T switches between the program and the terminal. rustimal's pane shortcuts (Ctrl+Shift+T, Alt+arrows, Ctrl+Shift+arrows, Ctrl+Shift+W and the others in the VS Code table) work while the program has the keyboard.

browser                        # Zen (else Firefox, Floorp, LibreWolf, Waterfox) in the pane; `zen` is the same
browser localhost:3000         # ... on a page
search rust window embedding   # ... looking something up with the browser's search engine
embed                          # in a Tauri or Electron project: its dev app (npm run tauri dev, cargo tauri dev, npm start)
embed npm run tauri dev        # any command that ends up opening a window
embed ./target/debug/app.exe   # a native app
fork                           # Fork, the Git client, on this folder's repository: a quick look at history and changes
fork ../other                  # ... on another one

embed starts the program out of the way. Its output goes to a file in rustimal's folder (the path is printed); embed -f COMMAND keeps the shell waiting for it instead, with its output on screen, which is what you want for a dev server whose log you read.

Something that is not an address is looked up: zen rust window embedding, zen asd (one plain word) and search ... all search with the browser's engine, while zen example.com and zen localhost:3000 open a page. If the browser is already open in the pane, the page opens as a new tab in it and it comes to the front, so you can zen something from the terminal to jump back to it.

The window is found among the command's own processes, so embed npm run tauri dev finds the app that the dev server starts, several steps down. Ctrl+Shift+W closes the program (it may ask to save first); closing it yourself, or the command ending, puts the pane back to its terminal.

Fork (fork [FOLDER]) is for a quick look at a repository, where pr and the review panel are more than you need. It runs once, so fork again in the pane brings the one that is open to the front, on the new folder. If Fork is already open on the desktop it takes the folder there, so close that one first to have it in the pane. RUSTIMAL_FORK names another Fork.exe.

The browser (browser, zen, search, or embed browser) is the one you have installed, on your own data. If nothing is using its profile it starts as usual. Usually it is open on the desktop, and a profile can only be used by one process, so rustimal makes one copy of it the first time (%LOCALAPPDATA%\rustimal\browser-profile, bookmarks, logins, cookies, add-ons, themes and settings; not caches, codecs or open tabs) and reuses that. Delete the folder to copy again. RUSTIMAL_BROWSER names another browser exe.

How the window is held: with the glass look on (the default), a program gets a window of its own laid over the pane, which follows the rustimal window and is hidden with it; programs that draw with GDI or WPF (Fork, most native apps) show nothing as a child of a see-through window, and any program draws fine this way. With glass = false the program's window is made a child of rustimal's instead.

What doesn't work: Microsoft Store apps (their window isn't the app's), programs run as administrator while rustimal isn't, and apps that hand their window to a copy of themselves that is already running (start the dev build, not the installed one). A program that opens a second window shows only the first one in the pane.

T3 Code

If you use the T3 Code desktop app, t3 in a rustimal pane shows T3 Code in that pane, at the conversation for the pane's folder (or any folder inside the project). Alt+T or Ctrl+Shift+T switches between it and the terminal, as it does for anything open over a pane. The shell keeps running underneath, and switching back and forth keeps your place; run t3 again to go to the conversation of a folder you have moved to.

Command What it does
t3 Show the latest conversation that isn't settled or snoozed, or else the latest one. With none, show T3 Code's start page
t3 ./folder The same for another folder. Write it as a path, so it isn't taken for a T3 command
t3 -l List the folder's conversations
t3 2 Show number 2 from that list
t3 stop Stop the server rustimal started in the background
t3 pair, ... Anything else goes to T3 Code's own CLI

Pairing is automatic. When the view lands on T3 Code's pairing screen, rustimal asks T3 Code's CLI for a one-time link and loads it in that view. T3 Code keeps separate sign-ins for the app's server and for the one rustimal starts, so this happens once for each. The link works once, for three minutes, is never logged, and pairs only with the server on this computer. The view is allowed what its chat needs (conversations, terminals, files, source control and settings), not managing other devices or remote access. The sign-in is kept in %LOCALAPPDATA%\rustimal\webview. If pairing fails twice, the pairing screen is left for you: t3 pair makes a token to paste.

The T3 Code app doesn't have to be open. If no T3 Code server is running, t3 starts one (t3 serve, listening only on this computer) without any window, which takes a few seconds. A hidden rustimal --t3-server process looks after it:

  • It keeps running when you close rustimal windows, so agents working in T3 Code carry on. t3 stop ends it, as does signing out of Windows.
  • When you open the T3 Code app, it stops its server so the app can take over. (T3 Code allows one server per data folder, and the app shows an error if another holds it.) An agent turn running at that moment is interrupted.
  • What it last did is in %APPDATA%\rustimal\state\t3-server.log.

It is T3 Code's web UI in a WebView2 view (part of Windows 11), served by that server or by the app's. The T3 Code desktop app still has to be installed, as its command-line tool is what runs. Features that only the desktop app has may be missing. While T3 Code has the keyboard, the same pane shortcuts as in VS Code are rustimal's (see the table there), and T3 Code gets every other key. The view sits on top of rustimal's drawing, so it is hidden while the command palette, settings, a link menu or a full-window review is open.

A Git worktree that T3 Code doesn't know uses the main checkout's conversations. From other shells, rustimal --t3 opens the conversation in the desktop app.

Updating

rustimal --update asks crates.io for the newest version and installs it with cargo install (so it needs the Rust toolchain, and takes a few minutes to compile). rustimal --update --check only says whether there is one. Windows won't overwrite a running program, so the installed exe is moved aside first (and put back if the install fails); windows you have open keep running the version they started with, and new ones use the new one. "Update rustimal" in the command palette runs it in a new pane.

Shell integration (bash)

rustimal loads a small script through PROMPT_COMMAND, so your normal Git Bash login setup still runs. It does these 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.
  • Commands: tells rustimal which command is starting, so it can say when it's done (see Notifications), and adds open (see Links). Tab on an empty line lists the files in the folder instead of every command on PATH, all at once rather than a page at a time.
  • Bare names: typing just a name does the obvious thing, as long as it isn't also a command (a real command, alias or function always wins). A folder is entered and listed (src, .., 'My Folder'), a text file is printed, a program is run (.exe, .bat, scripts with the executable bit or a #! line), and any other file opens with its default app. Names with a / in them aren't covered; use cd, or ./ for a program.

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, and Settings edits it for you. Options: font_family, font_size, line_height, shell, shell_args, padding, gap, radius, scrollback, cursor_blink, animation_speed (0 turns animations off), copy_on_select, shell_integration, glass, glass_opacity, notify_after_secs, links_need_ctrl, editor, restore_session, hotkey, dropdown, dropdown_height, and the [theme] colors.

Shortcuts go in a [keys] table, by action name, as one chord or a list:

[keys]
split_right = "ctrl+alt+right"
paste = ["ctrl+v", "shift+insert"]

A chord is modifiers joined with + (ctrl, alt, shift) and a key: a character (f, =, ,) or a name (left, pageup, enter, f5, ...). Rebinding an action replaces its default keys, and a key given to one action is taken from any other. The action names are split_left, split_right, split_up, split_down, focus_left/right/up/down, resize_left/right/up/down, close_pane, zoom, copy, copy_or_interrupt, paste, find, copy_output, open_folder, font_bigger, font_smaller, font_reset, select_all, scroll_page_up, scroll_page_down, scroll_top, scroll_bottom, palette, settings, review, git, embed, chat and code.

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.