Contour Terminal Emulator
Contour is a modern and actually fast, modal, virtual terminal emulator, for everyday use
Christian Parpart ✓ Verified
org.contourterminal.ContourContour is a modern and actually fast, modal, virtual terminal emulator, for everyday use. It is aiming for power users with a modern feature mindset.
- Available on all major platforms, Linux, macOS, FreeBSD, OpenBSD, Windows.
- GPU-accelerated rendering.
- Font ligatures support (such as in Fira Code).
- Unicode: Emoji support (-: 🌈 💝 😛 👪 - including ZWJ, VS15, VS16 emoji :-)
- Unicode: Grapheme cluster support
- Bold and italic fonts
- High-DPI support.
- Vertical Line Markers (quickly jump to markers in your history!)
- Vi-like input modes for improved selection and copy'n'paste experience and Vi-like scrolloff feature.
- Blurred behind transparent background when using Windows 10 or KDE window manager on Linux.
- Blurrable Background image support.
- Runtime configuration reload
- 256-color and Truecolor support
- Key binding customization
- Color Schemes
- Profiles (grouped customization of: color scheme, login shell, and related behaviors)
- Synchronized rendering
- Text reflow (configurable via SM ? 2028 / RM ? 2028)
- Clickable hyperlinks via OSC 8
- Clipboard setting via OSC 52
- Sixel inline images
- Terminal page buffer capture VT extension
- Builtin Fira Code inspired progress bar support.
- Read-only mode, protecting against accidental user-input to the running application, such as Ctrl+C.
- VT320 Host-programmable and Indicator status line support.
- Size indicator on resize.
- and much more ...
Screenshots
Observed history
| App | Change | Version | When ↑ |
|---|---|---|---|
| updated | 0.7.0 → 0.8.0 | 23 Oct 2026 |
Upstream releases
Release notes supplied by the developer. These dates are not Flathub package publication times.
0.8.023 Oct 2026
Contour 0.8.0 turns the shell's command history into something you can see and act on: command blocks with exit-status marks, output folding, a gutter with line numbers and timestamps, a sticky command header and finish notifications, driven by OSC 133 or, on recent systemd, by OSC 3008 context tracking with no setup at all. It detects URLs and file paths in terminal output and opens them with Ctrl+click, replaces the search prompt with a GUI-native find bar, and adds kitty graphics animation frames. Terminal output throughput is up several-fold, reflow and resize keep text and the cursor where they belong, and a broad round of fixes covers Windows, Flatpak, daemon mode, SSH and the settings page.
Tabs, splits and layouts
- Adds
tab_colorto profiles, giving newly opened tabs a default color while preserving layout, application and user overrides (#2152) - Fixes closing a pane or tab keeping its session — terminal, scrollback and threads — in memory until Contour exited. A program that ignores the terminal's hangup signal is now ended 200 ms after its pane closes, as WezTerm does, and a tab no longer leaks the picture of itself it takes for the drag cursor when its window closes mid-grab
Window and desktop integration
- Adds
remember_window_positionto restore the first window’s position and monitor at startup without saving its size (#2164). - Adds the global option
snap_to_rowsto align window heights to complete terminal rows, avoiding unused space below a bottom status line. Available in Settings and disabled by default (#2158). - Adds notification_close_timeout, for the one thing the notification portal cannot do: tell an application that its notification was dismissed. Where a close cannot be observed, Contour now assumes one after this long (10 seconds by default) and reports it back over OSC 99 marked `untracked`, so an application that asked for close events with `c=1` is answered instead of waiting forever, and can still tell a guess from an observation. A notification that states its own lifetime with `w=` is answered on that instead, and 0 disables the assumption entirely
- Extends OSC 9;4 progress indicators to the Windows taskbar, KDE Plasma launcher and macOS Dock, including while minimized, using combined progress from tabs and split panes.
- Changes the indicator status line to span the window's whole width: its bar reaches the window's left and right edges past the gutter and the page margins beside it, but stays its own rows' height, and its text is laid out across the gutter's columns as well as the page's, so its middle sits in the bar's centre. The host-writable status line keeps the page's width (#2139)
- Changes ending a shell within
early_exit_thresholdwith a successful exit status —exitor Ctrl+D — to close the window as at any other time; the "Shell terminated too quickly" notice and its key press remain for a shell that fails, is killed, or whose exit status is unknown - Changes OSC 777 and OSC 9 notifications to show only while their pane is not the focused one, as foot and Windows Terminal do, and OSC 99's o=invisible to mean while the pane is off screen: it acted as o=unfocused
- Fixes Windows font metrics after moving between monitors with different DPI scaling, maximized windows not filling the usable area, and resize handles remaining active while maximized or fullscreen (#2164).
- Fixes the Windows custom window frame growing the window and leaving a gap below the status line at startup: the client size is now preserved when the frame is applied (#2132)
- Fixes status-line
{Command}items opening console windows on Windows and slowing down rendering: commands now run in the background at a configurableInterval=(default 10 seconds), with a 5-second timeout, and accept the{Command:<command>}shorthand (#2135) - Fixes clicking an OSC 99 notification that asks for focus only raising its window: it now brings its tab and pane forward, and so does clicking a tray message off Linux. Off Linux, a notification from a pane in a background tab was dropped. In a contour client tab an application's o=always or o=invisible was lost, and OSC 99's lists of pending and shown notifications grew without limit
- Fixes desktop notifications never appearing in the Flatpak build. Contour asked org.freedesktop.Notifications for them directly, which a sandbox does not permit and which Flathub declines to grant a permission for; a sandboxed Contour now speaks the org.freedesktop.portal.Notification portal instead, which needs no permission at all. Outside a sandbox nothing changes — the session bus is still used, and still reports a dismissal exactly as before
- Fixes the window freezing for up to 25 seconds when a hyperlink, folder or configuration file is opened while the desktop's xdg-desktop-portal is not answering. Qt reaches the portal with a blocking call on the GUI thread, and since Qt 6.10 it takes that path whether or not Contour is sandboxed; Contour now speaks the portal itself, asynchronously, and falls back to xdg-open if the portal refuses. Where opening still fails, the log now says why instead of only that it did (#2075)
Command palette, settings and menus
- Adds a message to the settings page that says why it refused a value or could not save a change, which screen readers announce
- Fixes a profile the settings page saves cutting a hint pattern's name short at " #", or no longer loading when the name holds ": "; and saving a color scheme that sets a context tint failing
- Fixes the Rendering GPU setting never applying, while the settings page showed it as set, when settings.yml held a hand-edited renderer: value
- Fixes the settings page's grapheme clustering and text scaling settings being saved but never applied
- Fixes number fields on the settings page storing another number than the one shown or typed: in a locale that writes a decimal comma, leaving a field that showed 0.5, such as Background opacity, stored 5, and a whole number typed with the locale's thousands separator, such as 1,000, was stored as 1. A decimal field now takes a decimal point or a comma whatever the locale, and a whole-number field takes no thousands separator
- Fixes a malformed entry in settings.yml or in a GUI-written profile being reported without the file's name
- Fixes a settings.yml or a GUI-written profile file that holds a single word aborting the load of the whole configuration. Such a file is now skipped and reported, as one that does not parse already was
- Fixes a settings field, switch or menu whose change was refused, or could not be saved, going on showing the refused value instead of the stored one
- Fixes the settings page writing an override of a global setting's value already in effect, and offering a Reset for no change, when its field was left unchanged or its menu's shown entry was picked again. Escape in a field now puts the stored value back: it kept the typed text, which the next focus change saved
- Fixes the settings page accepting, and saving, a PTY read buffer size of zero or less, a negative number of recent commands and a negative interface font size. It now refuses them and says why
- Fixes the settings page's Keybindings list showing only the first action of a binding that runs several, and leaving out the built-in bindings that contour.yml leaves free, such as Ctrl+Tab and Ctrl+PageUp/PageDown switching tabs and right-click opening the context menu. They are now listed after the configured ones, marked built-in
Hyperlinks, file paths and hint mode
- Adds detection of URLs, file paths (with their
:line:column) and patterns of your own in terminal output: they are underlined like OSC 8 hyperlinks once output goes quiet and open with Ctrl+click, the context menu or vi'sgx, and]x/[xmove between them. Detection runs off the parser and its file checks on a thread of their own - Adds
link_detectionto choose, per screen, whether URLs and file paths in output are detected; file paths are no longer detected on the alternate screen by default. - Adds
hyperlink_decoration.mode(always,hover,modifier,never) and makeshyperlink_decoration.normaland.hovertake effect, for OSC 8 and detected links alike - Adds
file_opener, a command template with{path},{line}and{column}for opening detected files, andclickableandurlkeys forhint_patterns; all of them are editable on the settings page - Changes hint mode's Open on a match of your own pattern whose text names no URL scheme to open nothing, as a link opens only a scheme Contour knows; give the pattern
url: 'file://{0}'to open the absolute path it matches - Fixes hint mode freezing on long words, ending wide-character URLs early, misplacing highlights after combining characters and cutting parenthesised URLs short
- Fixes a file:// link's tooltip and its click naming different files: the tooltip kept a #L10 fragment that the click dropped, and file://C:/dir was opened as the network path //c/dir
- Fixes Ctrl+click and hint mode resolving a relative path against a working directory that another machine reported (file://otherhost/…), opening this machine's file of the same name; in a contour client pane mirroring another machine's daemon, Ctrl+click on a file path and file:// links opened this machine's file too
- Fixes the status line's context breadcrumb and the hyperlink tooltip showing a right-to-left override or a control character a program sent as it was, which could reverse the rest of the status line or the link shown
- Fixes a link staying underlined, with its tooltip up, after the pointer left the grid for the gutter or the window's edge
- Fixes FollowHyperlink and OpenSelection launching what they open while holding the terminal's lock, so a slow launcher froze the terminal's output
Scrolling, search and selection
- Adds search_case_sensitivity (smart, insensitive, sensitive), which the find bar's Aa button also cycles at runtime. Smart, the default, is case-insensitive until the term contains a capital, and it is Unicode-aware, so it works for non-Latin scripts (#1410)
- Replaces the status-line search prompt with a GUI-native find bar floating over the pane: a real text field, a live match count, previous/next, and a case toggle. Opened by Ctrl+Shift+F, or by / in Vi normal mode; neither switches the Vi mode any more. Under ui_style: terminal the same bar is drawn as a TUI — square, cell-quantized, in the terminal's own font (#2081)
- Changes the default
auto_scroll_on_updatefrom true to false, as in VTE, ghostty, WezTerm and Windows Terminal: a view scrolled back into the history stays there until you type. A configuration file that spells the option out keeps its value - Deprecates search_mode_switch, which chose the Vi mode to return to after a search. Entering a search no longer changes the mode, so there is nothing left for it to select; the key is still accepted so existing configurations keep loading
- Changes {SearchPrompt} in the indicator status line to a read-only echo of the active search term, which no longer appears in the default status line
- Fixes a view scrolled back into the history being brought down to the bottom about once a second with
auto_scroll_on_updateon, while a shell that redraws its prompt in place on a timer sat idle: only output that scrolls lines into the history now brings the view down, as in ghostty - Fixes search highlighting disagreeing with search matching for any non-ASCII term: the highlighter asked std::isupper, which is undefined above U+00FF, and asked it of the term's remaining suffix rather than the whole term, so "Foo" matched its tail case-insensitively
- Fixes being unable to edit a restored search term, and pasting into the search prompt corrupting it — both consequences of the hand-rolled line editor the find bar replaces (#1353)
- Fixes search and selection around double-width characters: a search missed a match running on past one, the highlight did not paint a match across one or across a soft wrap, and a double-click selected only part of a word holding one. A double-click also joined words across a hard line break, or took in the next word after a word wrapped onto a third row; vi's * and # had the same faults
- Fixes a fast mouse click starting a drag selection from a stale position instead of where the button actually went down, making the selected region appear to jump the moment the drag started. A slow, deliberate drag never showed this, because the pointer's tracked position was refreshed by the preceding movement; a quick click could arrive with no such movement right before it
- Fixes dragging out an ordinary text selection silently overwriting the active search term, so the selected text appeared as a live search wherever a status line or the find bar echoes it. Only a double or triple click's word selection is meant to do that
Paste, buffer capture and permissions
- Fixes permissions.capture_buffer never being consulted: a profile saying deny still raised the dialog and let the capture through once approved, and one saying allow was still interrupted by it. Both now decide the request outright, and with ask, "Yes to all" / "No to all" is remembered for the rest of the session instead of being stored and ignored (#2089)
- Fixes "Yes to all" on a larger-than-512-KB paste not being remembered either, so every such paste asked again
- Fixes a refused buffer capture leaving the requesting program hanging. The reply always ends with an empty PM 314 chunk, and a refusal sent nothing at all — so a client reading until that marker waited forever. A denial now sends the terminator, and so does a capture asked of a background pane
- Fixes a second buffer-capture request arriving before the first was answered being dropped, which left that request unanswered; requests are now queued and each one gets its own reply
- Fixes a larger-than-512-KB paste bypassing the newline normalization every smaller paste gets, so a CRLF payload arrived with carriage returns that a shell reads as Enter — under bracketed paste that executed the pasted lines instead of inserting them. Such a paste also honours the repeat count and whitespace-stripping it was asked for, and is no longer re-read from the clipboard when approved, so what is pasted is what was measured and shown rather than whatever was copied while the dialog was up
- Fixes pasted text ending a bracketed paste early with an embedded ESC [ 201 ~, or its 8-bit form, so that the rest reached the shell as typed keys: copying a command's output and pasting it back was enough to run what it held. ESC and C1 controls are now dropped inside a bracketed paste, and hint mode's Paste goes the same way
Daemon mode and remote sessions
- Changes an SSH profile that cannot connect to say so on the terminal, naming the host, the port and the reason. Every such failure — a name that does not resolve, a refused connection, an agent that is not there — used to be written only to the error log, which is off by default, so what appeared was the generic "Shell terminated too quickly." with nothing in it to act on (#2075)
- Changes an SSH profile under Flatpak that fails because the sandbox permits no network to say that, rather than reporting the host as unresolvable. Contour's SSH runs in-process rather than spawning ssh, so it is subject to the sandbox's own network permission; the message is chosen from what the sandbox reports it was granted, not guessed from how the call failed (#2075)
- Fixes `contour daemon` and `contour client` silently ignoring a profile's shell, escape_sandbox and presentation (cursor, status line, scrolling, colors) settings, hosting every session with the bare OS login shell and default presentation instead — even on the very first daemon spawn, not only when an already-running daemon was reused (#2092)
- Fixes
contour daemonnot realizing a profile's configureddefault_layoutwhen it starts: it now does, so the firstcontour clientto attach sees the real layout instead of always a single pane — including each pane's owncommand,argumentsanddirectory, not just its tab/pane shape. A pane's per-tabprofileoverride is not honored on the daemon and is logged. - Fixes contour daemon retrying forever, every 100 ms, once its listening socket was gone, serving nothing and saying only that an accept had failed. It now stops accepting there and logs why
- Fixes ClearHistoryAndReset, SoftReset and WriteScreen in a tab attached to contour daemon acting only on the client's copy of the screen, which the next update could undo. They now run on the daemon
- Fixes a daemon with more than one scrollback-heavy pane becoming permanently unattachable — `contour client` was refused before any screen content arrived, and every reconnect failed the same way. Attach snapshots are now paced against the connection's send queue and split across frames, so attaching succeeds whatever the scrollback depth; a window resize could drop an already-attached client for the same reason and no longer does
- Fixes `contour client` never finding the daemon under Flatpak. A sandboxed daemon bound its socket under the sandbox's own $XDG_RUNTIME_DIR — a directory on a private mount the host cannot reach at any path — so a shell that escaped the sandbox had nothing to attach to. It now binds under $XDG_RUNTIME_DIR/app/<app-id>, which flatpak shares with the host at the same path, and exports $CONTOUR_MUX into the shells it hosts (#2075)
- Fixes an SSH connection attempt skipping every other address a host name resolved to, so a host reachable only at its second address appeared to be down
- Fixes Contour hanging when an SSH handshake failed: the failure path took a lock the calling thread already held
- Fixes Contour spinning when the SSH agent could not be reached — the normal case inside a Flatpak, where $SSH_AUTH_SOCK names a host path the sandbox does not mount — instead of falling through to the next authentication method
Keyboard and mouse input
- Adds Ctrl+Shift+Up and Ctrl+Shift+Down to move between command prompts on the primary screen, as in Ghostty (ScrollMarkUp and ScrollMarkDown); a full-screen application keeps the chord
- Fixes AltGr characters arriving on Windows as control codes: on a Swedish layout AltGr+8, 9, + and 2 typed ESC, GS, FS and NUL instead of [ ] \ and @. Windows reports AltGr as Ctrl+Alt, and under the Win32 input mode ConPTY enables, the character was Ctrl-mapped as if Ctrl had been pressed. A Ctrl+Alt that produced a printable character is now treated as AltGr, while a genuine Ctrl+Alt chord is still reported as one (#2127)
- Fixes a genuine Ctrl+Alt+key on Windows losing both modifiers outside the Win32 input mode — the case for SSH profiles: Ctrl+Alt+A typed a bare "A" instead of ESC ^A, or CSI 97;7u under the kitty keyboard protocol, and a key binding on a Ctrl+Alt chord never fired. Every Ctrl+Alt used to be taken for AltGr; only one that produced a printable character is now
- Fixes a key binding for BACKSLASH firing on the x key
- Fixes Vi mode on a page under 17 rows scrolling with every motion — j bounced the view, and H and L landed on the wrong edge — because the 8-row scroll margin was never capped. It is now capped as vim caps scrolloff
- Fixes Vi mode's M landing one row above vim's middle row on a page of odd height, which could scroll the page by a row, and counting the blank rows that end a page collapsed folds leave short. It now lands where vim 9.1 does
Rendering, fonts and Unicode
- Adds built-in drawing for more Powerline separators, including inverse dividers, thin chevrons and diagonal lines (#2160).
- Adds U+25BC and U+25B6 to the built-in box-drawing renderer, so they no longer depend on the font
- Adds `renderer.gpu` and a "Rendering GPU" settings entry to choose which GPU renders the terminal (Linux and Windows). The default, `auto`, leaves the choice to the system as before. Vulkan and Direct3D honour it with Qt 6.10 or newer; OpenGL honours it on Linux only
- Changes the dotted underline to be drawn as evenly spaced round dots that continue across cells.
- Fixes macOS configured font fallback, collection-face selection, and recovery of missing glyphs, including statusline symbols that require a proportional system fallback.
- Fixes Windows ignoring the configured font fallback list and switching surrounding text to another font when a glyph was missing. DirectWrite now tries the configured fonts first and only replaces missing clusters. Also fixes undersized emoji and incorrect text/emoji presentation (#2140)
- Fixes a combining character, such as an accent, that arrives in a separate read after a run of plain text attaching to the first character of that run instead of the last
- Fixes a read that ends inside a multi-byte UTF-8 character, right after a control sequence or at the start of the read, showing a replacement character in front of it and leaving the cursor one cell too far right
- Fixes national flags after other text pairing their letters one off: a German and a US flag written after a space showed as D, EU and S
- Fixes a cluster that starts with a combining mark or a zero-width character losing its first cell when the next character joins it
- Fixes text in a script no installed font covers rendering at roughly 3 fps: every uncovered codepoint triggered a fontconfig sort of every installed font on the render thread, and every one of those sorts returned nothing. A single probe of the union of all installed charsets now answers the same question exactly, taking the median frame from 289 ms to 12.3 ms
Images and graphics
- Adds kitty graphics animation frames (
a=f) and frame selection (a=a), so applications can send only what changed between frames instead of re-sending the whole image. Self-running playback (s=2/s=3) and frame composition (a=c) are not supported yet (#2108) - Fixes images.sixel_scrolling: false being lost once a program reset the terminal (RIS), and never applying in a session hosted by contour daemon
- Fixes the kitty graphics protocol's APC payload being parsed one byte at a time through the escape-sequence state machine, where the equivalent sixel payload has long had a bulk path. An image-heavy workload's time in the parser falls from 47% of its wall clock to 6.6% — 7.55 s to 1.06 s over 1.4 GB of payload
Shell integration
- Adds OSC 133;N (as ;A), ;I (as ;B, for input that ends with its line) and ;L (a fresh line), the right-prompt mark ;P;k=r, and kitty's cmdline= form of the command line. A shell integration announcing commands with ;N used to get no command blocks at all, and under Nushell a command line ended in the right prompt's text (#1010)
- Adds PowerShell shell integration: contour generate integration shell pwsh to FILE. Like VS Code's, it wraps PSReadLine's PSConsoleHostReadLine to report the command line (#1010)
- Changes the bundled bash, zsh and fish integrations to report where the prompt ends (OSC 133;B) and the command line (cmdline_url), and tcsh to report the prompt end; with fish 4.0 or later, which marks its prompts itself (A, C and D from 4.0.0, the command line from 4.0.1, the prompt end from 4.3.0), the script adds only what fish leaves out (#1010)
- Fixes a multi-line command split into one command block per line in Nushell 0.111 and later, which integrates natively and marks each continuation line with OSC 133;A;k=s: an A carrying k=s or k=c (a continuation prompt) or k=r (a right-hand prompt) is now read as part of the prompt in progress. Nushell never reports the command line, so Contour reads it off the screen (#1010)
- Fixes a failed command being recorded and reported as a success when its OSC 133;D carried more parameters after the exit code, as WezTerm's 133;D;1;aid=42 does: everything after D; was read as the exit code
- Fixes a command line sent as OSC 133;C;cmdline_url= being cut at a raw semicolon (kitty, too, reads it to the end of the sequence); and, with a shell that sends ;C but never ;D, the prompt after a command that printed nothing (cd, true) being taken for that command's output, so screen readers found no live prompt there
- Fixes the tcsh shell integration on macOS printing its prompt and command marks as literal text such as
\033]133;A\033\rather than sending them: macOS's tcsh echo expands no escapes (echo_stylebsd), so the terminal saw no prompts or command blocks there - Fixes the bundled bash, zsh, fish and tcsh integrations sending the working directory (OSC 7) as a raw path: a directory whose name held an escape character could send the terminal sequences of its own, such as a new window title, and a script sourced over ssh claimed a local directory. They now send a file:// URL with the host name and a percent-encoded path, and fish 4.0 and later, which sends its own, no longer gets a second one
- Fixes the path of an OSC 7 file:// URL being taken as written: a directory a shell announced percent-encoded, as VTE's script, fish 4 and WezTerm do, showed as /tmp/a%20b in the tab title and hint mode, and on Windows a new tab could not open in it. A new window opened in the current directory also lost the part of its path after a # or ?
- Fixes the bash integration installing no hooks when another copy of bash-preexec had been loaded first, as atuin and starship load it, and its hooks being replaced by a user's own functions named precmd or preexec
- Fixes DEC mode 2034 semantic block queries reporting a command with another command's prompt and output, or at a fresh prompt the previous command's; a shell that enables the mode from its prompt hook never seeing the command typed at that prompt; a full reset (RIS) leaving the reader's session running; and a query of an unknown type being answered as one for the last blocks
Command blocks, folding and the gutter
- Adds output folding: collapse a finished command's output down to its prompt line and expand it again. Driven by the shell's OSC 133 marks, so any shell with shell integration works (#88)
- Adds a fold column in a one-column gutter left of the grid, marking each foldable block and highlighting under the pointer; clicking it, or the new context-menu entry, toggles that fold
- Reserves U+10F000..U+10F0FF for Contour's own glyphs and assigns the fold column's two heads, which no Unicode character describes; see docs/vt-extensions/private-use-glyphs.md
- Adds the global folding config section and the actions CollapseAllFolds, CollapseLastFold, ExpandAllFolds, ToggleFold and ToggleLastFold
- Adds a record of every command block — its command line, exit status, start time, duration and working directory — kept for the last command_blocks.max_records commands (1000 by default), even after their output has left the history (#1010)
- Adds exit-status coloring to the gutter's block column: a failed command's marks turn red and a running one's yellow (color scheme block_status), a running command shows ▸ and a finished one with no output ●, and hovering the column shows the exit code, duration, start time, directory and command line (#1010)
- Adds line numbers to the gutter, off by default: gutter.line_numbers absolute, relative or hybrid, as vim's nu and rnu. Relative distances count the lines you see, so with a block collapsed 12k still lands on the line labeled 12 (#1010)
- Adds per-line timestamps to the gutter (gutter.timestamps, gutter.timestamp_format): the time output first reached each line, at no memory cost per line (#1010)
- Adds a "⋯ 1,234 lines" label after a collapsed fold, and vim's fold keys za, zo, zc, zM and zR in Vi normal mode (#1010)
- Adds command marks on the scrollbar — failures, every command, and user marks (scrollbar.marks) — where clicking one scrolls to that command (#1010)
- Adds a sticky command header: scrolled back into a long output, the command that produced it stays pinned above it with its exit status and duration (sticky_header.mode), and once that command's own line has been evicted from the history it names the command instead, so the header never just disappears (sticky_header.show_evicted) (#1010)
- Adds actions on a command's output: Ctrl+triple-click selects it (SelectCommandBlock), CopyCommandBlock and CopyCommandLine copy its output or its command line (the latter safe to paste), Ctrl+Shift+G opens the last one in a pager (OpenCommandOutput, command_blocks.pager), ClearToPrompt clears everything above the current prompt, and CopySelection can fall back to the last command's output. Relative file paths in a command's output now open relative to the directory that command ran in. Ctrl+triple-click and Ctrl+Shift+G are built-in fallbacks, so they work even with a contour.yml that has its own input_mapping (#1010)
- Adds desktop notifications when a long command finishes where you cannot see it, on by default for commands of 10 seconds or more in an unfocused pane (notify_on_command_finish) (#1010)
- Adds command blocks to contour client sessions attached to a daemon: the gutter, folds, scrollbar marks, sticky header and finish notifications work there too, and reattaching never replays notifications for commands that finished while detached. OpenCommandOutput opens no pane there; bind it with placement: detached to pipe the output into a program (#1010)
- Adds the gutter, command-block and folding settings to the settings page. Each one overrides a single key of its section in settings.yml, and leaves the rest as contour.yml says (#1010)
- Adds a Command blocks group to a profile's page in the settings: scrollbar mark sources, the sticky command header and its evicted-command naming, and when, how and for which commands a finished command notifies (#1010)
- Adds the block-status colors (success, failure, running), the gutter-text color and the sticky-header colors to the color-scheme editor. An unedited slot keeps following the colors it is derived from and says so, and an edited one can be set to follow them again (#1010)
- Adds a menu for each command in the gutter: a click on a command's status mark, or a right-click anywhere beside its output, opens the context menu for that command, which can now also run it again (RerunCommand, shown and confirmed first) (#1010)
- Adds
gutter.block_column_width, 2 by default: the fold controls and command marks are drawn across two cells at twice the size, and a click anywhere in the column lands. A failed command shows a cross, or its fold drawn heavy; the fold under the pointer is drawn bolder (gutter.bold_on_hover) in colours a scheme can set per outcome (block_status_hover), editable on the settings page; and a click on a collapsed fold's "⋯ N lines" label expands it (#1010) - Adds "Copy Last Command" to the terminal's context menu, copying the last finished command's command line without the prompt in front of it; "Copy Last Prompt" copies the prompt's lines, PS1 included
- Adds the profile option
copy_command_preserve_multilineto preserve line breaks and tabs when using Copy Command. Disabled by default. - Adds history.hard_limit, which makes the scrollback evict a whole command at a time. Anything above history.limit is headroom the buffer may grow into; when it fills, entire (prompt, output) blocks are dropped from the top instead of a slice taken wherever the limit happened to fall, so the oldest line kept is a prompt with its command's output intact rather than an orphaned tail. Boundaries come from the shell's OSC 133 marks, so with no shell integration — or for a single command whose output is larger than the whole headroom — the buffer simply bounds at hard_limit and evicts line by line as before. Defaults to history.limit, which is exactly today's behaviour (#836)
- Changes Vi normal mode to move in visible lines, stepping over collapsed blocks; folding.on_jump_into_fold picks whether a search hit inside one expands it or is skipped
- Changes Vi normal mode's mm to set a user mark rather than a prompt mark: it is drawn as ◆ in the gutter and as a tick on the scrollbar, and no longer counts as a command boundary for folding or for history.hard_limit's eviction of whole commands, while [m, ]m and the im/am text objects still visit both kinds (#1010)
- Changes the default scrollbar.position from Hidden to Right, so the command marks on the scrollbar are visible from the start. The scrollbar floats over the terminal's edge without taking a column, appears only while there is history to scroll through, and hides on the alternate screen unless hide_in_alt_screen is turned off. The new default applies to new configurations: a contour.yml written by an earlier version keeps scrollbar.position: Hidden, because Contour writes out the full default configuration on first run, so set position: Right in the profile's scrollbar section, or pick right for "Scrollbar position" on the settings page, to see the marks (#1010)
- Fixes stale fold ranges after a command finished: OSC 133's ;B and ;D wrote their line flag without invalidating the ranges derived from it, so anything reading them between the end of a command and the next prompt saw the state from before
- Fixes CopyLastCommandOutput on output of only blank lines putting a bare newline on the clipboard
Context tracking (OSC 3008)
- Adds support for OSC 3008, systemd's hierarchical context signalling (UAPI.15): the nested stack of contexts a shell, run0, ssh or a container runtime opens around whatever runs inside it. systemd 258 and later emit these around every interactive command with no configuration at all, so on such a system Contour learns command boundaries, exit statuses and working directories for free (#2078)
- Adds the {Context} indicator status-line placeholder: a breadcrumb of the contexts above the one you are typing in. It shows only privilege and machine boundaries by default and draws nothing at all when there are none, so an ordinary shell session is unchanged
- Adds an optional tint map to color schemes, giving the page background a different shade under an elevated, containerised, virtualised or remote context. No shipped scheme sets one, deliberately: every field OSC 3008 carries is a display hint any program on the terminal can write, so the colour is something you opt into rather than something that appears
- Adds fold controls, mark-jump stops and "copy last command output" to prompts without any setup on a system where OSC 3008 arrives and no shell integration is installed. A shell integration, if one is installed, keeps full ownership of the markers and nothing changes
- Adds reporting of how a command really ended: OSC 3008 distinguishes a crash from an interruption from a plain non-zero exit, and names the signal — which OSC 133's numeric exit code cannot express
- Changes the tab tooltip and "Open Current Folder" to follow the working directory OSC 3008 reports. A directory belonging to a container, a VM or another machine is never opened locally — the menu entry greys out rather than opening the host's directory of the same name. Set osc_context.enabled to false to opt out of all of it
- Adds the same context tracking, tinting and breadcrumb to a contour attach pane that a local one gets
New VT sequences and protocols
- Removes the deprecated SETMARK sequence (CSI > M); use OSC 133 ; A instead
- Adds DECSWBV (CSI Ps SP t), the VT520 sequence for setting the warning-bell volume: Ps 1 silences the bell, 2 to 4 halves it, 0, an omitted Ps or 5 to 8 keeps it at the profile's configured volume. An application can only mute or halve that volume, never raise it, and RIS restores the default (#732)
- Adds DECSMBV (CSI Ps SP u), the VT520 sequence for setting the margin-bell volume: Ps 0, 1 or an omitted Ps silences it (the default, per the VT510 manual), 2 to 4 halves it, 5 to 8 sets it to high, and RIS restores the default. Contour does not yet ring the margin bell itself — DEC private mode 44 remains unimplemented — so for now this only stores the value for when it does (#733)
VT conformance and correctness fixes
- Fixes a single shift (SS2 or SS3) being used up before a character that the shifted-in soft font (DRCS) has no glyph for, which then came out of the wrong character set
- Fixes resizing the window at a shell prompt leaving doubled fragments of the prompt on screen (narrower) or erasing the output line above it (wider): Contour reflowed the prompt the shell was about to redraw. The live prompt's rows are now cut or padded instead, as kitty does, and a prompt sent with OSC 133;A;redraw=0 is reflowed as before
- Fixes narrowing the window leaving the cursor where its text used to be, so input typed at a prompt afterwards landed past the prompt's end or over its last character. The cursor, and the cursor DECSC saved, now keep their place in their line across a reflow, as in foot, kitty and WezTerm
- Fixes a reflow changing the text it moves: blanks inside a wrapped line were dropped, a double-width character could be split across two rows, a block of OSC 66 text taller than one row was torn apart, and a line written with text reflow off (DECRST 2028) was reflowed anyway
- Fixes a double-width character arriving in the last column being written with half of it off the page, after which a widening dropped the character that followed it (ABCDEFGHI中X read back without the X). It now moves to the next row, as in xterm, foot and kitty
- Fixes a resize that changes only the height dropping a pending wrap, so the next character overwrote the last cell of the row; and a narrowing pushing a prompt on the top row of an otherwise empty page into the history as soon as it wrapped
- Fixes a full-page scroll down (SD, or a reverse index on the top row) erasing the newest lines of the scrollback and moving the lines pushed off the bottom into its oldest slots. The scrollback now stays as it was, as in xterm, Windows Terminal, kitty and WezTerm
- Fixes ED keeping a double-width or double-height cursor row at its size after erasing all of it, where DEC STD 070 resets it to single size; and EL 0 and ED 1 keeping two rows joined after erasing what joined them, so the next reflow or copy ran two unrelated lines together
- Fixes clearing the scrollback (ED 3) leaving the view scrolled to, or the vi cursor on, rows that no longer exist, and a hint session open over the history matching them
- Fixes writing to the host-writable status line after a narrowing resize writing past the end of its row, out of bounds in release builds
- Fixes a DEC macro that invokes itself hanging the terminal, and a macro body larger than the free input buffer overflowing it
- Fixes DEC macros (DECDMAC, DECINVM) to follow DEC STD 070: a macro runs where it is invoked, as if its bytes had come from the host, rather than after the rest of the output; the definitions share 6 KiB of macro space, whose room left DECMSR now reports (it said 0), and DECCKSR reports their checksum (it said 0000); a definition with a parameter out of range or a body that is not hex, or one made inside a running macro, is ignored whole; a body keeps no control characters; and the hex repeat sequence ! Pn ; … ; is understood
- Fixes a full reset (RIS) keeping the macros, the user-defined keys and the soft character set while a soft reset (DECSTR) cleared them, the wrong way round by DEC STD 070, the VT520 manual, xterm and Windows Terminal. A RIS inside a running macro now ends it, and DECMSR and DECCKSR are answered from VT420 on only, as in xterm
- Fixes VT screenshots (ScreenshotVT): a wide character replayed one column too far right, the line break after the last row scrolled the first row away on replay, OSC 66 text came back at ordinary size, and screenshot.vt drew from wherever the replaying terminal's cursor stood, in its colors and modes. The file now starts from a reset, cleared page
- Fixes XTGETTCAP replies spelling a byte past ASCII, such as an 8-bit CSI, as FFFFFF9B instead of 9B
- Fixes narrowing the window moving the cursor to the right: each column step doubled its column until it was pinned at the right edge, where anything printed before the application next moved it landed. Released versions showed this only with reflow_on_resize off
Stability, performance and startup
- Improves terminal output throughput, fed from memory: plain text 166.6 → 310.9 MiB/s, coloured text 42.7 → 281.9 MiB/s, full-screen applications on the alternate screen 55.6 → 593.2 MiB/s. Lines with mixed colours and the alternate screen now take the bulk-text path, plain-text stretches inside non-ASCII text are written in bulk too, scrollback lines that scroll out are reused instead of reallocated, escape-sequence parameters are scanned in bulk, and each sequence is looked up through an index instead of a binary search
- Improves reading from the terminal's PTY: the parser keeps reading while a frame is being built instead of waiting for it, and a burst of output schedules one redraw instead of one per read; plain text through a real PTY 69.8 → 104.2 MiB/s
- Changes the default
read_buffer_sizefrom 16384 to 65536 bytes: the most read from the PTY and parsed in one go. Hosts that start sessions without a configuration file, such ascontour daemon, move from 4096 to 65536 bytes - Fixes Contour not exiting for up to a minute or more after its window closed on systems where opening a GPU device hangs (seen with nouveau): loading Qt Multimedia for the bell no longer probes the GPUs for hardware video decoding and encoding
- Fixes Vi mode's commands and mode switches changing the terminal from the GUI thread without its lock, racing with a program's output (a mode switch resized the page in the middle of it); a light/dark switch re-seeded the palette the same way
- Fixes Contour hanging while local echo was on (SRM reset): SendChars hung on every use, and with in-band resize reports (mode 2048) on as well, so did toggling the status line, the key maps or input protection, changing the font size or resizing the window, entering Vi normal mode and switching back to the tab. Each sent input while it held the terminal's lock, and the local echo of that input takes the lock again
- Fixes a reply that Contour raised from the GUI rather than from a program's output waiting for the next key press or output before it was sent, so a program blocked reading it could wait forever: the answer to an OSC 99 notification being closed or clicked, and the selection report of DECSET 2030 for SelectAll, CreateSelection or a drag that scrolls the view
- Fixes a function key from F6 to F20 occasionally crashing Contour while a program redefined the user-defined keys (DECUDK) or reset the terminal: the key read the table as output rewrote it. Typing and the key-binding lookup also read the keyboard lock (KAM), local echo (SRM), auto-repeat and the modes a binding matches on, such as application cursor keys, while output could change them
- Fixes an out-of-memory kill of any process running inside Contour, such as a compiler or a language server, closing Contour and every tab with it on desktops that start applications as systemd units. Each session now runs in a systemd scope of its own, so only the killed process ends. Building on Linux needs libsystemd unless configured with CONTOUR_WITH_SYSTEMD=OFF
- Fixes closing a terminal whose shell could not be started, which made Contour wait for any other process it had started to exit and, on builds with standard library assertions enabled, abort. A process that was never spawned held the id 0, which POSIX reads as the caller's whole process group
- Fixes a key press occasionally crashing the terminal, and a reply to the application occasionally losing its first bytes, which Neovim hit at startup: its DA1 query came back as just "2;314c" and was read as typed keys. Input flushes from the parser thread and the GUI thread could overlap, and each discarded the bytes both had written, so the next reply started that many bytes late; a key press shorter than that crashed. Flushes are now serialized
- Fixes a crash (debug builds) or out-of-bounds memory access (release builds) when long or wrapping output reached past the 80th column right after startup: startup widens the page before it makes it taller, and the lines the taller page took over from the unused scrollback kept their old, narrower width. Every line entering the page is now resized to the page width
- Fixes an application that opens a DECSET 2026 synchronized update and then stalls or dies before closing it freezing the display — not a slow frame, no frames at all. Rendering now resumes once a block has outlived 150 ms, with the mode register untouched so DECRQM still reports what the application set; on notcurses-demo the frame rate more than doubles, from 13.6 to 29.7 fps
- Fixes a column change — eight or nine of which Contour negotiates at startup, and one per column step of a window drag — costing time proportional to the configured history.limit rather than to what the scrollback actually holds. Reflow is now skipped where nothing is wrapped, and the remaining work walks only the rows in use, taking startup column work from 34.58 ms to 0.02 ms
- Fixes the scrollback being scrambled whenever the history limit changed, which happens on every profile apply and config reload. Growing it blanked the top of the scrollback and slid the real rows out of reach; shrinking it dropped the newest lines and kept the oldest
- Fixes the shell's output going to Contour's own standard output instead of the terminal on Windows whenever that was redirected: started from a script, under ctest, or as a daemon logging to a file
- Fixes program paths and arguments not being quoted on Windows: a shell under C:\Program Files\… ran C:\Program.exe wherever one existed, and arguments holding spaces, quotes or a trailing backslash were split, merged or lost
- Fixes a Windows pseudo console read ignoring its timeout and racing with the console closing, and a write racing with it too, so a tab closing mid-read could hang or write to a handle Windows had already reused. A failure to create or resize one now gives its real reason, where it gave none or an unrelated one
- Fixes names outside the ANSI code page on Windows: a shell, argument, environment value or working directory holding one was mangled (an argument ü€😀 arrived as ü€😀), Contour's own command line turned it into ? (contour -c C:\Users\李\x.yml), and the configuration under such a user profile was not found. Paths inside the configuration and layouts, screenshots, the daemon's socket and log file, SSH keys, known_hosts and ssh_config, and a new tab's working directory failed the same way, and renaming such a color scheme on the settings page saved it with the default colors. contour.exe now runs with UTF-8 as its process code page (Windows 10 1903 and later)
- Fixes starting a shell on Windows by writing its environment into Contour's own: a variable set for one tab leaked into every later one, another thread could read the child's values meanwhile, and a PATH longer than 1024 bytes was replaced instead of extended
- Fixes
contour terminal PROGRAM ARGS...— the documented way to run a command in a new window — reporting "Do not know what to do with `echo` will use it as a program" for any program named the way programs are normally named. Only a path that exists on disk counted as a program; the spawn itself resolves the name through PATH, and the check now asks the same question, so only a name that is nowhere is reported (#2102) - Fixes the "Shell terminated too quickly." notice appearing twice for a command that exits before the first frame is drawn. Such an exit reaches the session from two directions — its exit watcher, and the display finding the device already closed — and only the paths below the notice were guarded against being run twice (#2102)
Configuration, packaging and build
- Changes the build to take the coroutine, networking and generic utility code from a verbatim copy of core-cpp, the library shared by the Contour Terminal projects, in vendor/core-cpp. It brings no new dependency, and with CONTOUR_USE_CPM=OFF it fetches nothing
- Changes the minimum libunicode version to 0.9.4, whose SIMD text scan no longer reads every block of text four times over and stops in front of ill-formed UTF-8, and whose grapheme check pays for flag bookkeeping only on flag letters
- Fixes configuration reloads: saving contour.yml with live_config, or ReloadConfig, reloaded one session only, and new tabs kept the old settings; a reload left a profile's changed colors, the status line's position and indicator, folding's auto_collapse_on_new_command and on_jump_into_fold, and the osc_context limits as they were; a full reset afterwards brought back the previous terminal_id's operating level, initial status line and cursor; and after ResetConfig no later reload read the user's file until Contour restarted
- Fixes status_line.sync_to_window_title and highlight_word_and_matches_on_double_click having no effect, and contour client starting every new daemon tab with the profile it had read at attach, even after a reload
- Fixes one configuration value of the wrong shape (a word where a section belongs, a list where a single value belongs) silently dropping everything read after it — other profiles, layouts and key bindings — or resetting its whole profile or color scheme. Now only that entry keeps its default, and the error log names it by its path, line and column, such as profiles.main.cursor. A color palette written as a list now loads
- Fixes a value of the wrong type inside contour.yml's renderer or folding section, such as enabled: maybe under folding, dropping everything read after it — profiles, layouts and key bindings. In settings.yml it dropped the renderer overrides read after it, the GPU choice among them. Now only that value keeps its default, and the error log names it by its key path, such as folding.enabled
- Fixes a configuration value holding an unterminated ${ loading with the text before it doubled: ab${x read as abab${x
- Fixes contour generate … to FILE writing Windows line endings on Windows, which broke a bash script in Git Bash, and printing nothing and exiting successfully when the file could not be written
- Fixes the build on Linux with Clang and libc++, which selected the broken <experimental/simd>. The guard excluded it by platform — Apple and FreeBSD — but the header belongs to libc++, not to those systems, so any libc++ build reached it; it is now excluded by _LIBCPP_VERSION instead (#2087)
0.7.017 Aug 2026
Contour 0.7.0 makes the window a workspace: native GUI tabs in the title bar, split panes, saved layouts, and an optional terminal-styled UI that draws the application's own chrome on the character grid. It adds an experimental daemon mode for sessions that outlive the window showing them, accessibility support across the terminal and its chrome, the kitty graphics, text-sizing and clipboard protocols, ReGIS vector graphics, and a large round of VT conformance work.
Tabs, splits and layouts
- Adds first-class GUI tabs presented in a custom window title bar, replacing the status-line tab list (the {Tabs} status-line directive remains supported for existing configs)
- Adds split panes — split the active pane vertically (Ctrl+Shift+E) or horizontally (Ctrl+Shift+O), close a pane (Ctrl+Shift+X), and move pane focus with Alt+Shift+Arrow
- Adds pane management actions: swap the active pane with a neighbor (Ctrl+Alt+Arrow), resize it (Ctrl+Shift+Alt+Arrow), flip a split's orientation (Ctrl+Shift+Backslash), and move a pane to a new position in the split tree (unbound by default)
- Adds pane zoom (TogglePaneZoom, Ctrl+Shift+Z): gives the active pane the whole tab area, hiding its siblings, and toggles back to the tiled layout. Moving pane focus while zoomed keeps the zoom and shows the newly focused pane; splitting, closing or rearranging panes returns to the tiled view. A zoomed tab is titled after the pane on screen and wears a Z badge
- Adds dragging tabs: reorder a tab within its strip, drag it into another window, or tear it out into a new window, with a live drop-position indicator showing where it will land; the running terminal survives the move (within the same process)
- Adds renaming a tab by double-clicking it, and a color-swatch picker in its context menu. The picker is keyboard-driven — the cursor keys and the vim motions h/j/k/l walk the swatches, Enter or Space picks the highlighted one, Escape dismisses — and opens on the color the tab already wears
- Adds the actions SetTabColor and ResetTabColor, so coloring a tab is no longer mouse-only: both appear in the command palette, and either can be bound in input_mapping. SetTabColor opens the tab's color picker, or applies a color outright when given one (for example `{ mods: [Shift,Control], key: 'R', action: SetTabColor, color: '#ff0000' }`)
- Adds configurable layouts: named sets of tabs with per-tab command, working directory, name, color, profile, and split panes; open at startup via default_layout, via `--layout NAME`, or the LaunchLayout action. SaveLayout writes the current window's tabs back into layouts.yml, prompting for a name when none was given — and is reachable from the command palette, so saving a layout needs no keybinding
- Adds the dim_unfocused profile option: dims a pane while it is not the focused one (an inactive pane of a split, or any pane of an unfocused window) by blending it toward its background color; 0.0 (default) disables dimming
- Adds the top-level options tab_bar_position (Top/Bottom) and tab_bar_visibility (Always/Never/Multiple), to place the GUI tab bar at the top or bottom of the window and to hide it entirely or show it only when more than one tab is open
- BREAKING: tab_bar_position and tab_bar_visibility belong to the top level of contour.yml, not to a profile — a window shows one tab bar whichever profiles its tabs run. If you tried them in a 0.7.0 prerelease, move these two keys out of your `profiles:` block; a profile-scoped copy is no longer read
- Adds Ctrl+Tab / Ctrl+Shift+Tab and Ctrl+PageDown / Ctrl+PageUp as tab-switching shortcuts. They reach existing configurations too, and binding them yourself still wins. Note that Ctrl+Tab is now taken from applications that request it through the Kitty keyboard protocol
- Adds switching tabs with a horizontal mouse wheel tilt or a two-finger trackpad swipe, over the tab strip or the terminal, configurable via the new global tab_switch_on_horizontal_wheel option (default on); an application that requested mouse reporting keeps the horizontal wheel, and the bypass modifier (Shift) switches tabs even then. Also fixes a sideways swipe over the tab bar doing nothing at all on a trackpad
- Fixes the tab bar placement and visibility settings appearing to do nothing until Contour was restarted
Window and desktop integration
- Changes the window to use a custom client-side-decorated title bar (tab strip plus window controls) by default on all platforms; set show_title_bar: true to use the native server-side window decoration instead, in which case the tab strip is kept but its window controls defer to the OS frame
- Adds window_control_style, deciding how the window's minimize/maximize/close buttons are drawn and which side of the tab bar they sit on — until now always Windows-shaped and always on the right, which on macOS is the wrong corner. The default `auto` follows the host: macOS gets real traffic lights on the left, KDE Plasma gets Breeze's circular hover fills, everything else keeps today's buttons. Set `windows`, `macos` or `plasma` to pin one. Changing it from the settings page applies to every open window at once, without a restart
- Fixes the window losing its drop shadow on KDE Plasma. Contour's window is frameless by default so its own tab bar can be the title bar, and a frameless window gets no decoration from the system — which is what draws the shadow. The window now publishes a shadow of its own to KWin, on both X11 and Wayland, sized and shaped like Breeze's so it matches the rest of the desktop; `window_shadow` sets it to `None`, `Small`, `Medium`, `Large` or `VeryLarge`. Only KWin can act on this, so on other compositors and window managers it has no effect
- Fixes the same loss on Windows and macOS, where it also cost the window its rounded corners. Neither goes frameless any more: on Windows the frame is kept and made invisible, so the system draws the shadow and the rounded corners while the tab bar still covers the whole window; on macOS the window stays a normal one whose content simply extends into the title bar, so the shadow, the rounded corners, full-screen, window tabbing and double-click-to-zoom all keep working. On macOS the system's own traffic lights are now used instead of Contour's drawn copies
- Fixes background blur never turning off again on X11 once it had been switched on, and fixes the window border being drawn dark on Windows regardless of the `theme` setting
- Fixes multi-monitor handling: the window no longer re-pins itself to the widest screen on every frame, refresh-rate/DPI tracking follows the window's actual screen after a monitor move, and new windows open on the spawning window's screen
- Changes a display-scale change (moving to a monitor with a different scale, a late Wayland fractional-scale arrival) to preserve the terminal's columns and lines with a single corrective window resize
- Changes font zoom to keep the window and pane size fixed and adjust the terminal's columns and lines (and the child PTY size) instead of resizing the window
- Fixes window resize oscillation/flicker: the terminal no longer fights the window manager by resizing its own window from resize events; the grid floors to the given size (sub-cell remainder renders as padding) while X11/macOS keep WM-side cell snapping via size hints
- Fixes window spawn flicker: the window is sized from the real font metrics before it is first shown and opens directly in the profile's window state, instead of appearing at a default size and jumping
- Fixes window sizing on tiling Wayland compositors: a freshly-spawned terminal was mis-sized until a manual resize (#1955), and the window snapped back to the configured terminal_size after a screen or scale change (#1941)
- Fixes programmatic window resizes (CSI 8 t) shrinking the window by the title-bar height on every call, and CSI 4 t resizing the grid without the window; in split windows both now solve the pane layout so the requesting pane receives its exact grid
- Fixes the KDE forced-font-DPI override being read from the X11 key in Wayland sessions (now honors forceFontDPIWayland) and no longer re-reads the setting file on every frame
- Fixes the window padding being computed against the wrong scale when a forced font DPI is configured (KDE's "Force font DPI"), which fitted the grid to a width the window did not have and left the terminal's own idea of where the grid starts disagreeing with where it was drawn
Command palette, settings and menus
- Adds a command palette (Ctrl+Shift+P): a searchable popup listing every command with its documentation and key binding, making actions that have no binding reachable at all. Recently used commands are pinned on top and remembered across restarts; command_palette_recent_count sets how many (0 disables)
- Adds a GUI settings page for changing the configuration. Settings are grouped into collapsible sections with a search box over them, and the indicator status line is built visually — a preview of the finished line, one chip per placeholder, and a style sheet exposing every attribute a template can carry, with the raw template still editable as text
- Adds a right-click context menu to the terminal: copy, paste, select all, the hyperlink under the cursor, opening the current folder, splitting and closing panes, switching profile, and a soft or hard terminal reset. It opens exactly when a selection drag would have worked, so an application that asked for the mouse (vim, tmux) still receives its right-click; hold Shift to open the menu anyway. Bind OpenContextMenu in input_mapping to move it to another button
- Adds a window menu on right-clicking the empty part of the title bar or tab bar: open a tab (optionally under a named profile), close the current tab or all of them, and switch the tab bar between always visible, auto-hide and hidden
- Adds `ui_style: terminal`, which draws the application's own chrome — the tab bar and title bar, and the controls within menus, popups and the settings page — as fixed-size character cells in the terminal font, with square corners and box-drawing separators, so the window reads as one continuous TUI. Tabs keep every affordance they have today: drag to reorder, tear off into a new window, rename, close, context menu and color picker. It is the recommended way to get the terminal look now that a window can hold split panes, where the indicator status line's {Tabs} item draws one tab list per pane instead of one per window. Colors keep following the OS palette and the `theme` setting; optionally set `ui_font_family` and `ui_font_size`, or leave them unset to inherit the default profile's font. Takes effect on the next start
- Adds a drop shadow to menus, context menus and popups, so they read as floating above the terminal rather than pasted onto it. Under `ui_style: terminal` it is a hard-edged offset shadow that stays on the character grid
Hyperlinks, file paths and hint mode
- Adds a tooltip naming an OSC 8 hyperlink's target when it is hovered, so it can be read before it is followed. A local file:// target is shown as a plain path. Turn it off with `hyperlink_hover_tooltip: false`
- Adds Ctrl-click support for opening detected local filesystem paths under the mouse cursor (#1947)
- Fixes an OSC 8 `file://` hyperlink failing to open when the application spelled the host name in full: programs build such a link from `gethostname(2)`, which reports the fully-qualified name on some machines and the short one on others, and Contour accepted only the short form — every other spelling was taken for another machine's file and handed to the desktop as a network location. The short name, the fully-qualified name, `localhost` and no host at all are now all recognized as this machine, whatever their case, and the host is stripped before the file is opened. A link to a file that carries no host now opens in your `$EDITOR` like any other, instead of being sent to the desktop
- Adds a scope parameter to the HintMode action: scope: Scrollback scans the scrollback history as well as the visible page, capped by the new hint_scrollback_lines profile option (default 1000). Its labels are assigned once and stay put, so you can activate hint mode, scroll to older output, and then type the label you see; scope: Visible remains the default
- Fixes hint mode missing any URL or path that the terminal broke across two rows because the window was too narrow: patterns are now matched against the whole logical line, so such a match is one hint whose highlight follows it across the line break and which yields the complete text rather than the fragment on one row
Accessibility
- Adds accessibility support: the terminal caret is reported to the operating system, so screen magnifiers (Windows Magnifier, KDE Plasma zoom) and screen readers can follow it; with OSC 133 shell integration the live shell prompt is additionally exposed as its own focusable region
- Adds a description of the window chrome for screen readers: the tab bar reads as a tab list whose tabs announce themselves as they are switched, the window and tab buttons say what they do instead of naming their glyph, and every settings field carries its own label
- Adds screen-reader announcements for the bell, desktop notifications and read-only mode, which have no other way to be noticed. Turn them off with `accessibility_announcements: false`
- Adds reading the selected text aloud through the operating system's speech synthesizer, from the context menu or with Ctrl+Shift+S. Needs Qt's TextToSpeech module and an installed voice; where either is missing the feature is simply not offered
Daemon mode and remote sessions
- EXPERIMENTAL: Contour gains a daemon mode. `contour daemon` hosts shell sessions in a background process so they survive the window showing them, and `contour client` connects to it as a full Contour window whose tabs mirror the daemon's sessions live — images, hyperlinks and sized text included — starting a daemon on demand if none is running. The daemon speaks tmux's control-mode protocol in both directions, so tmux-aware tooling and the stock tmux binary can attach to it, and `contour client --tmux` attaches Contour to a real tmux server. A daemon can also be reached over the network with `--listen-tcp HOST:PORT`, always TLS-encrypted and requiring a preshared token. Works on Linux, macOS and Windows (10 1803+). Built in by default, but experimental: its command-line flags and wire protocol may still change between releases
Keyboard and mouse input
- Adds Win32 Input Mode (DEC private mode 9001) for native ConPTY keyboard input encoding, fixing keyboard input for applications that request this mode on Windows
- Adds `WheelLeft` and `WheelRight` as bindable mouse buttons in `input_mapping`
- Smooths mouse-wheel scrolling: a wheel notch now glides to rest with inertia instead of jumping whole lines, giving the mouse wheel the same smooth feel as a touchpad. Active whenever smooth_scrolling is enabled
- Fixes mouse-wheel scrolling in alternate-screen pagers such as less, most and man: a wheel notch now scrolls them out of the box (via alternate-scroll, emitting cursor-key presses) even when the pager has not enabled a mouse protocol, matching the behavior of other terminals; DECSET ?1007 works accordingly (#1951)
- Fixes `input_mapping` rejecting `Ctrl` as a modifier name — the very spelling Contour shows in its own menus and command palette — so a binding written with it was silently discarded; `Control` and `Ctrl` are now interchangeable, `Hyper` is bindable at last, and the same names work in `bypass_mouse_protocol_modifier` and `mouse_block_selection_modifier`
- Fixes a single-character key binding only firing when its letter was written in the same case the keyboard happened to report, which left `key: 'q'` parsing cleanly and then never firing; on macOS this also revived five built-in `Ctrl+Alt` shortcuts that were dead unless CapsLock was on
- Fixes an `input_mapping` entry that fails to parse vanishing without a word — Contour now reports which entry was dropped and which of its fields was at fault
- Fixes cursor, navigation and function keys sending a bogus modifier parameter while CapsLock or NumLock is active (for example UpArrow emitting ESC[1;65A instead of ESC[A), which broke arrow keys and F-keys in most applications, and fixes XTerm modifyOtherKeys mode 2 reporting plain keys as modified in the same situation, so applications enabling that mode (such as vim) received ESC[27;65;97~ instead of a plain a (#1954)
- Fixes Vi mode being unusable while CapsLock or NumLock is active: arrows, Home, End, PageUp and PageDown now move the cursor, the search prompt accepts typed characters again, Escape leaves visual mode, and a [count] prefix is parsed. Also fixes DECUDK user-defined keys being suppressed, hint-mode label characters leaking into the running application, and numpad digits never working as a Vi [count] prefix (#1954)
- Fixes macOS reporting where a key sits on the keyboard where the Kitty keyboard protocol asks which character that key types, so fifteen keys reached the application as an entirely different key — in any program speaking that protocol, fish among them. Ctrl+U arrived as Ctrl+Space, which fish does not bind, so it inserted a space instead of clearing the line; Ctrl+I, Ctrl+P, Ctrl+L, Ctrl+J, Ctrl+K, Ctrl+N, Ctrl+M and the bracket, semicolon, backslash, comma, period, slash and backtick keys were mistranslated the same way. The character is now taken from the keyboard layout that is actually active, so it is also right on a layout other than US ANSI
- Fixes xterm's `CSI > Pp ; Pv m` (XTMODKEYS) being read with its resource number in place of its value, so an application asking for `modifyOtherKeys` level 2 selected level 4 and got nothing. Adds the matching `CSI > Ps n` for turning a resource back off
- Fixes the Vi search prompt treating a Meta-modified key as if it were unmodified, so that for example Meta+Backspace deleted a character instead of being ignored
- Fixes leaving Vi visual mode with Escape also sending that Escape on to the running application
- Fixes the input-method (IME) candidate window opening at the wrong position: the reported cursor rectangle now honors the configured window margin and the pane's position inside a split, and widens over double-width (CJK) characters
Rendering, fonts and Unicode
- Improves Unicode width measurement: a grapheme cluster is measured as a whole, so ZWJ sequences, skin-tone modifiers and Indic conjuncts occupy the columns they actually need instead of being sized from their first codepoint. Following terminal-unicode-core, VS16 promotes a cluster to the emoji presentation and may widen it to two columns, while VS15 selects the text presentation without changing the width — a cluster already on screen is never narrowed. Cluster measurement is on by default and can be turned off with DEC mode 2027, which returns width measurement to the classic per-codepoint wcwidth() model
- Improves font fallback: a character no font in the chain covers is now resolved by asking which installed font actually covers it, rather than giving up at the end of the chain
- Prefers a monospaced font when falling back, rather than taking whichever font in the chain happens to come first; a proportional font is still used where no monospaced one has the character, so nothing that renders today stops rendering. The strict_spacing setting now genuinely refuses non-monospaced fallbacks, which it previously did not (#1939)
- Fixes text falling back to the wrong font, and being drawn a cell too far to the left, whenever a run contained a single character the primary font was missing. A prompt such as Claude Code's, where an ornament and a non-breaking space precede the first word, had that whole first word re-shaped in a fallback font. Only the characters the primary font genuinely lacks now fall back, and a glyph can no longer advance the cursor by zero cells (#1939)
- Fixes a font's `weight:` and `slant:` being silently ignored unless spelled exactly one way. The names are now matched without regard to case or separator, so `bold`, `Bold`, `extra_bold`, `extra bold` and `ExtraBold` all work — including the CamelCase spellings that `contour generate config` itself writes, which previously did not load back. The alternate names each weight is also known by (`regular`, `ultralight`, `semilight`, `semibold`, `ultrabold`, `ultrablack`) are accepted too, and a value that still cannot be read is now reported instead of quietly leaving the default in place
- Deprecates `slant: thin`. It never named a slant — it reached the table as a copy of the weight list — and continues to mean `normal`, now with a warning
- Fixes the terminal reporting a bold-italic font to the application (OSC 50) as merely italic, dropping the weight from the pattern
- Fixes curly underlines being drawn almost as tall as a lowercase letter and running into the text above them on fonts that declare line spacing, such as the default "monospace" on many Linux systems (#1754), and fixes the other underline styles sitting one row too high, on the baseline itself — the upper stroke of a double underline could be drawn inside the letters, a dotted underline came out as dashes or vanished entirely, and a double underline's strokes were a pixel too thin at even thicknesses
- Fixes combining marks vanishing from uniformly styled lines: a character written in decomposed form, such as a Greek or Cyrillic letter followed by a combining accent, was drawn as its base letter alone, because the batched rendering path those lines take can only carry one codepoint per column
- Fixes selecting text changing how wide a glyph is drawn, so that emoji and other multi-codepoint characters no longer gain padding and push the rest of the line to the right when highlighted (#1752)
- Fixes a tall glyph — a Nerd Font icon, a powerline separator — overwriting a neighbouring glyph in the texture atlas, and no longer shifts such a glyph sideways off its own bearing
- Fixes characters rendering as other characters, or shrunken and unreadable, on a pane whose size has changed a lot: the glyph cache was built once for the original size, so a window maximized from small, or a pane given most of the tab, could need more slots than it held and glyphs began overwriting each other mid-frame. The cache is now resized along with the page, and splitting no longer builds each pane's cache at the wrong size only to rebuild it immediately (#2040)
- Fixes a pane rendering blank or partially after a font, font-size or DPI change that reached it while it was not on screen — minimized, occluded, or on another tab. The pane kept shaping text with fonts it had already discarded, and the frame was dropped instead of drawn
- Fixes the status line and non-displayed pages being drawn against whichever screen was current rather than the one being rendered, which took the cursor row and the cursor colour from the wrong page
- Fixes searching for text outside Latin-1: a needle such as "Привет" or an emoji drove the case handling through functions that are undefined for those codepoints, which could silently mismatch or abort the terminal. Case is now folded per the Unicode character database, so "smart case" and case-insensitive search work for non-Latin scripts as well
- Fixes Unicode characters sometimes being wrongly decoded during high-bandwidth output
Images and graphics
- Adds the kitty graphics protocol (APC G): transmitting, displaying, placing and deleting images, in PNG or raw RGB/RGBA, including chunked transmission
- Adds the iTerm2 OSC 1337 extensions: the capabilities report and inline images
- Adds ReGIS vector graphics (DCS p), DEC's VT330/VT340 graphics language: lines, circles, arcs, interpolated curves, filled polygons, shading, text, colour registers with HLS/RGB specs, position reports, the interactive locator, and macrographs. ReGIS is now advertised in the primary Device Attributes (feature 3) and answered by XTSMGRAPHICS
- EXPERIMENTAL: Adds the Good Image Protocol (GIP) — a DCS-based protocol for displaying raster images with named image pools, LRU eviction, three compositing layers (below/replace/above), configurable resize and alignment policies, Auto/PNG/RGB/RGBA format support with automatic format detection, and DA1 capability advertisement via code 90. The new `contour cat` command displays an image file through it from the shell (#100)
- Fixes Contour crashing on a sixel image whose raster attribute declares an extreme pixel aspect ratio — a 30-byte escape sequence in any file, log or command output was enough to take the terminal down, because the ratio was taken straight off the wire and made the guard against writing outside the image wrap around (#2049)
- Fixes a crash in the sixel parser caused by aspect ratio miscalculation (#1945)
- Fixes sixel images being squashed vertically on displays taller than about 1530 pixels, which is every 4K panel: an aspect ratio the screen could show perfectly well was capped to a fixed limit. The limit now follows the image canvas, so a larger screen makes full use of the range it can display, and a stated image height can no longer overshoot that canvas
Shell integration
- Adds OSC 133 prompt marks (A, C and D) to the bundled shell integration, so Contour can tell a prompt apart from a command's output. This is what makes "copy last command output" work; previously those marks were only recorded while the opt-in semantic-block protocol (DEC mode 2034) was enabled, which no shell turns on
- Adds the actions SelectAll, SoftReset (DECSTR), CopyHyperlink, and CopyLastCommandPrompt, CopyLastCommandOutput and CopyLastCommandBlock for copying the most recently finished command straight from the scrollback
- Fixes the tcsh shell integration emitting its escape sequences as literal text (tcsh's echo does not understand \e), so working-directory reporting and prompt marks never reached the terminal at all
- Fixes prompt marks being duplicated when the window is widened and dropped when it is narrowed: a marked line long enough to wrap had its mark copied onto every line the wrap produced, so jump-to-previous-mark and CopyPreviousMarkRange landed on the wrong line after a resize
New VT sequences and protocols
- Adds the kitty text sizing protocol (OSC 66): text drawn several cells tall and wide, with fractional scales and alignment within the block
- Adds the kitty pointer shape protocol (OSC 22), so an application can set, push and pop the mouse cursor shape
- Adds the kitty clipboard protocol (OSC 5522)
- Adds the ConEmu-style progress indicator (`OSC 9;4`), already emitted by package managers, build tools and installers and supported by Windows Terminal, iTerm2 and Ghostty. A long-running command's progress now shows as a bar along the bottom of its tab, as the `{Progress}` status-line placeholder, and on the OS taskbar where there is one; error, paused and indeterminate states are distinguished. It works in daemon mode too, so a client attaching mid-operation adopts the bar already in flight. The indicator persists until the application clears it, as the sequence specifies; set `progress_timeout` to a number of milliseconds to have Contour withdraw one that stops being updated. Also fixes a bare `OSC 9;4` raising a desktop notification whose text was the literal "4"
- Adds in-band window resize notifications (DEC mode 2048)
- Adds TERM_PROGRAM and TERM_PROGRAM_VERSION to the environment, so applications can identify the terminal without querying it
- Adds OSC 52 clipboard read, gated by an opt-in policy
- Adds the special colors (OSC 5 and OSC 105), makes the highlight colors settable, answers every color query, and parses the whole X11 colour specification grammar
- Adds the VT525 color-assignment sequences DECAC (Assign Color), DECATC (Alternate Text Color) and DECSTGLT (Select Color Look-Up Table): applications can color the GUI tab from the shell (DECAC item 2, as Windows Terminal does), set the default text colors (DECAC item 1), and — in DECSTGLT alternate-color mode — assign colors to text-attribute combinations such as bold or underline (DECATC) (#1975)
- Adds xterm's title modes (XTSMTITLE/XTRMTITLE), an icon title, a title stack, and the remaining XTWINOPS window operations
- Adds 8-bit C1 control support: S7C1T/S8C1T, 8-bit replies under S8C1T, the GR invocation register, and the GL/GR locking shifts
- Adds KAM, LNM, SRM, VPR, DECBI, DECID, DECTST, DECREQTPARM, XTCHECKSUM, and DECSET 41 (MoreFix), which makes a tab honour a pending wrap
- Adds DECSCL (Set Conformance Level, CSI Ps1;Ps2"p) — applications can change the terminal's conformance level at runtime, with C1 transmission mode (7-bit/8-bit) support
- Adds text macros (DECDMAC/DECINVM) — define macros via DCS and invoke them via CSI, with hex encoding support, delete-all, recursion guard, and deferred execution
- Adds User-Defined Keys (DECUDK) — reprogram function keys F6-F20 with custom strings via DCS, with clear/keep semantics and lock mechanism
- Adds DRCS (DECDLD) — dynamically redefinable character sets with sixel-like bitmap glyph definitions (backend storage; frontend rendering is pending)
- Adds the User-Preferred Supplemental Set: DECAUPSS assigns it, DECRQUPSS reports it back, and the SCS designator "<" designates it into a G-set
- Wires up all NRCS (National Replacement Character Sets) in SCS dispatch: British, Dutch, Finnish, French, FrenchCanadian, German, NorwegianDanish, Spanish, Swedish, Swiss across G0-G3
- Adds DEC Technical Character Set with full 94-position Unicode mapping (Greek letters, math symbols, bracket pieces, arrows)
- Adds DEC Locator mouse protocol (DECELR/DECLRP/DECSLE/DECRQLP) — the DEC alternative to xterm mouse tracking, with one-shot mode and configurable event filtering
- Closes VT level 5 conformance gap (#100): DA1 now honestly reports all implemented extensions
VT conformance and correctness fixes
- Fixes a numeric parameter of an escape sequence overflowing when the connected program sent more digits than the value could hold; such a parameter is now rejected rather than wrapping to an unrelated number
- Fixes the left and right margins (DECSLRM) being ignored by carriage return, NEL, CNL, CPL, backspace, autowrap, REP, CBT and vertical scrolling; and fixes scroll-down inside a left/right margin dropping the lines in the middle of the region
- Fixes the six rectangular-area sequences (DECCRA, DECFRA, DECERA, DECSERA, DECRQCRA, DECSACE) disagreeing on how to read their coordinates: an omitted one-based parameter was stored as zero and then decremented, addressing outside the grid
- Fixes DECRQCRA (CSI Ps * y) answering the wrong final byte and the wrong checksum, and ignoring origin mode (DECOM)
- Fixes DECCRA dropping a copy entirely when the request ended in a trailing semicolon, and running past the target page's edge
- Fixes DECALN (ESC # 8) writing outside the grid once the screen had scrolled
- Fixes a line feed below the scrolling region walking the cursor off the page, and DECSNLS (CSI Ps * |) resizing the columns instead of the lines
- Fixes REP (CSI Ps b) dropping a request that omitted its parameter
- Fixes the cursor not carrying across the alternate-screen switches DECSET 47 and 1047, and maps the 1047 alternate buffer
- Fixes a 132-column DECCOLM switch surviving a hard reset (RIS), and DECSTR (soft reset) leaving left/right margin mode (DECLRMM) set
- Fixes VT and FF not honouring linefeed mode (LNM) as LF does, DCH honouring the top/bottom margin, and ED 2 honouring the scroll region
- Fixes passive mouse tracking (DEC mode 2029) surviving a terminal reset: after RIS the mode read as off while mouse reports still carried its extra parameter, which applications cannot parse, and wheel scrolling on the alternate screen emitted nothing
- Fixes scrollback preservation for top anchored full width scroll regions
- Fixes a DCS sequence carrying intermediate bytes after its parameters being misparsed, because the parser dropped those bytes on the way out of the parameter state
- Fixes numeric capability reporting by XTGETTCAP
- Improves DECRQM, which now answers for the modes it knows but cannot change, and DECRQSS, which now reports the scroll-region margins one-based, reports DECSACE, and omits default colours from its SGR report
- Changes DECSCL to erase the screen as a real terminal does, and gates DECRQM and DECSLRM by the conformance level it selects
Stability, performance and startup
- Fixes Contour taking minutes to open on a desktop whose notification daemon is installed but not running — the case when dunst is disabled, for instance. Each terminal session asked the desktop about notifications synchronously as it was created, and with nothing there to answer, every one of them waited out D-Bus's 25-second reply timeout before any window could appear; a window with several tabs paid it once per tab. Desktop notifications are now sent without ever waiting for a reply, so an absent or wedged notification daemon costs nothing at startup, and can no longer freeze the terminal for the same 25 seconds when a program raises a notification or rings the bell. A notification daemon that starts after Contour did is now picked up too
- Fixes multi-second shell startup stall when the shell (e.g. fish) queries terminal capabilities before the display is attached — queued replies are now flushed on display attach instead of waiting for the next focus/input event
- Fixes a hang and a crash on startup when probing the audio device, for profiles that cannot ring an audible bell
- Improves PTY throughput performance determinism by rewriting the internal grid cell storage
- Fixes crashes and heap corruption when rapidly changing the font or window size, caused by data races between the UI thread and the Qt Scene Graph render thread; geometry/font changes are now deferred and applied on the render thread (#1922, probably #1712, #408)
- Fixes Contour aborting when a pane was closed or a tab switched while a frame was being drawn: closing a split pane could take the whole window down, because the drawing thread was reading the session the closing pane had just given up. A tab switch could likewise draw one frame out of two different terminals
- Fixes a crash when closing a tab, window or split pane, in the moment between the shell exiting and the session being destroyed: the thread watching for that exit was asked to stop but never waited for, and destroying it while it still ran aborted the application
- Fixes a crash on Windows when opening a new tab, window or split pane while the shell could not be started there — most visibly from a WSL or SSH session, or with a shell such as nushell. Such a spawn now retries in Contour's own directory before falling back to the login shell, and if it still cannot start, the reason is shown in the pane and the pane closes on a key press, rather than taking the whole application down
- Fixes a crash on Windows when opening a new tab or split from a pane that had reported its working directory over OSC 7 — a remote directory from an SSH session that does not exist locally, or the raw `file://` URL handed to CreateProcess() instead of the extracted path. A working directory is now only inherited when it exists on the local machine
- Fixes a crash, and a possible window freeze, under heavy output on Wayland: the input method's cursor-position queries were answered from the render thread without locking the grid, racing a concurrent resize or reflow
- Fixes a crash when entering Vi normal mode (Ctrl+Shift+Space) while an application was producing output, most reliably a remote tmux session over SSH. Showing the indicator status line resizes the page, and that reflowed the grid without locking it against the thread writing into it. The same lock was missing from the scroll, selection, search and paste actions
- Fixes Contour aborting when an application's font request (OSC 50) was approved after the pane it came from had gone away, or after the window had briefly lost its drawing surface — leaving the dialog open across a pane close, a tab switch or a screen change was enough. The approved font is now remembered as that session's own, so it also survives a configuration reload or a tab rebind instead of silently reverting to the profile's font
- Fixes the built-in SSH client corrupting its own connection when a key was pressed or the window resized during heavy output, which ended the session with "Decrypt failed" or "Out of boundary" and then filled the log with write errors. The connection is no longer driven from two threads at once, and a failed write ends the session instead of being retried forever. Opening two SSH sessions at the same moment also no longer races the SSH library's one-time initialization
- Fixes an error being logged on every normal shell exit: a pseudo-terminal master reports its last slave closing as EIO, which is end-of-file rather than a failure
Configuration, packaging and build
- Fixes profile settings that only took effect after a restart: changing background_image, its blur or opacity, the background color, or the scrollbar position now applies as soon as the config is reloaded or the profile is switched
- Fixes loading of optional fields in the config file (#1940)
- Fixes CMAKE_BUILD_TYPE=None builds no longer having NDEBUG force-defined, so distribution packagers get a neutral build that keeps assertions and debug symbols intact; the expensive internal terminal-state invariant checks are now gated behind the new CONTOUR_VERIFY_STATE option instead of NDEBUG (#1956)
- Fixes the statically linked Linux binary failing to build since the RHI-rendered display landed: the static Qt image now ships Qt 6.11.1, as the Qt6GuiPrivate CMake package needed for the RHI headers only exists since Qt 6.9 (#1983)
- Fixes std::simd feature test for GCC 16 compiler
0.6.39 Apr 2026
- Adds hint mode for keyboard-driven selection of URLs, file paths, git hashes, and IP addresses with configurable actions (Copy, Open, Paste, Select), activatable via key binding or Vi normal mode (gh/gH)
- Adds auto-scroll when dragging selection past window edges, and Shift+Click to extend existing selections (#1911)
- Adds pixel-based smooth scrolling via smooth_scrolling profile setting, supporting trackpad pixel deltas, mouse wheel, and keyboard scroll actions
- Adds natural momentum scrolling for touchpad gestures with configurable falloff via momentum_scrolling profile setting
- Adds kitty's unscroll extension (CSI n + T) to restore scrolled-off content from scrollback history
- Adds snap-to-grid window resizing via WM size-increment hints (X11/macOS) and client-side snapping (Wayland, where xdg-shell has no size-increment hint)
- Adds environment variable expansion (${VAR_NAME} syntax) in configuration file paths for cross-platform config reuse (#1278)
- Adds configurable font fallback limit (max_fallback_count) with on-demand loading and persistent locate cache for faster font resolution
- Adds animated cursor movement between grid cells with ease-out interpolation via cursor_motion_animation_duration profile setting
- Adds configurable crossfade transition between primary and alternate screens via screen_transition and screen_transition_duration profile settings
- Replaces abrupt cell blink toggle with configurable smooth pulse animation via blink_style profile setting (classic/smooth/linger)
- Adds configurable text outline rendering to improve glyph readability on transparent or low-opacity backgrounds (#1895)
- Adds pixel-perfect builtin rendering for mathematical bracket and symbol characters (U+239B–U+23B3), including parenthesis pieces, curly bracket pieces, integral extensions, horizontal line extension, bracket sections, and summation symbols
- Adds pixel-perfect builtin rendering for shade characters (U+2591–U+2593): light shade, medium shade, and dark shade
- Adds Kitty OSC 99 desktop notification protocol with D-Bus backend on Linux, supporting structured metadata, chunked payloads, base64 encoding, urgency levels, display occasion filtering, bidirectional close/activation events, and query/alive responses
- Adds DEC VT420 multi-page support with 16 pages, navigable via NP (CSI Pn U), PP (CSI Pn V), PPA (CSI Pn SP P), PPR (CSI Pn SP Q), and PPB (CSI Pn SP R) sequences
- Adds DECPCCM (DEC mode 64) page cursor coupling mode to control whether the displayed page follows the cursor page
- Adds DECRQDE (CSI " v) display extent report for querying page dimensions and current page number
- Adds cross-page DECCRA (Copy Rectangular Area) support for copying cell content and attributes between pages
- Adds complete DECCIR (Cursor Information Report) response including character set designations, GL/GR mappings, and wrap-pending state (#97)
- Adds DECNKM (DEC mode 66, VT320) to toggle numeric keypad between application and numeric mode via CSI ? 66 h / CSI ? 66 l
- Adds DECARM (DEC mode 8, VT100) to enable/disable keyboard auto-repeat via CSI ? 8 h / CSI ? 8 l
- Adds DECBKM (DEC mode 67, VT340) to toggle Backspace key between BS (0x08) and DEL (0x7F) via CSI ? 67 h / CSI ? 67 l
- Fixes crash when rendering oversized non-RGBA glyphs (e.g. Nerd Font icons in JetBrainsMono) by extending glyph scaling to all bitmap formats (#1893)
- Fixes keyboard input being swallowed in programs like less and bat due to empty-string terminfo capabilities (#1861)
- Fixes ESC key not being sent to the application when CancelSelection input mapping has no mode restriction (#1839)
- Fixes F3 key not reaching PTY applications when a keybinding matches but its action does not execute, by falling through to the terminal instead of silently consuming the key event
- Fixes F3/Shift+F3 search navigation keybindings firing in any mode instead of only when Search mode is active
- Fixes numpad keys not producing digits when NumLock is ON, especially on Wayland where native modifier detection is unreliable (#1901)
- Fixes modifier-only key presses (Shift, Ctrl, Alt, etc.) incorrectly scrolling the viewport to the bottom when Kitty keyboard protocol ReportAllKeysAsEscapeCodes is enabled
- Fixes Home/End key encoding in Kitty keyboard protocol (extended keyboard input generator)
- Fixes Kitty keyboard protocol: F1-F4 CSI u key codes, legacy F1-F4 modifier encoding, CSI u gating for ReportEventTypes and ReportAllKeys flags, lock modifier handling, and Press event type suppression
- Fixes Kitty keyboard protocol: proper CapsLock/NumLock modifier reporting, correct modifier encoding per spec, and Unicode case folding for non-ASCII characters
- Fixes tab characters (HT) intermittently lost in terminal output due to bulk text parser skipping trailing C0 controls and tab cursor movement not filling intermediate cells with spaces (#1876)
- Fixes text rendering artifacts and corruption when rapidly outputting content
- Fixes garbled or missing characters when displaying Unicode text
- Fixes REP (repeat character) VT sequence being silently discarded when preceded by text processed via the parser's bulk text fast path, causing visual gaps in ncurses applications like htop
- Fixes glyph scaling and vertical centering of colored emoji
- Fixes Sixel images not rendering on non-first tabs
- Fixes selective erase (DECSED/DECSEL) incorrectly erasing the cursor line instead of the target line when erasing lines without protected characters (#28)
- Fixes Insert Replace Mode (IRM, CSI 4 h) not shifting text right on character insertion (#1877)
- Fixes DECXCPR (Extended Cursor Position Report) to report the correct page number instead of hardcoded page 1
- Fixes terminal shrinking/growing on tab switch when status line is displayed
- Fixes WINDOWMANIP cell-based resize (CSI 8;rows;cols t) gaining columns at non-integer content scale
- Fixes initial terminal window size being wrong at fractional DPR (e.g. 127×29 instead of configured 130×30 at 150% scaling on Wayland, #1858)
- Fixes initial font sizing at fractional DPR on Wayland by preferring screen DPR over window DPR
- Fixes ~2s startup delay caused by synchronous Qt multimedia driver probing by deferring audio initialization to a background thread
- Fixes build failure on Alpine Linux (musl libc) due to missing close_range() function (#1879)
- Fixes third-party dependency files (headers, libraries) leaking into install tree (#1788)
- Fixes size of the window when using tiling WM (#1908)
- Fixes missing kitty keyboard protocol release events (#1924)
- Fixes terminfo colors capability (32767 → 256) so Midnight Commander and other S-Lang applications correctly detect 256-color support
0.6.27 Jan 2026
- Security: Fixed Out-of-Bounds Write in `SequenceParameterBuilder` (CWE-787)
- Security: Fixed SSH Trust-On-First-Use (TOFU) vulnerability (CWE-295) with interactive host key verification
- Security: Fixed potential Integer Overflow in parameter parsing (CWE-190)
- Security: Fixed sensitive data exposure in debug logs (CWE-532)
- Fixes insert mode / default status line colorscheme loading (#1737)
- Fixes `CancelSelection` default binding with escape (#1710)
- Fixes `CreateTab` to sometimes spawn more than one tab (#1695)
- Fixes crash using Chinese IME (#1707)
- Fixes NumLock key handling (#1713)
- Fixes handling of multiple windows and tabs (#1725)
- Fixes crash on scaling down some symbols during font size change
- Fixes mouse scrolling speed being too slow
- Fixes crash in vi normal mode when using `y0` (#1801)
- Fixes empty history jump (#1781)
- Fixes double line box drawing characters
- Fixes DECRQM (DEC Request Mode) response (#1797)
- Fixes Precondition failure when rendering vertically overflowing glyphs (#1805)
- Fixes fish-shell keyboard input protocol behavior; acting as if it would be broken on e.g. control keys (weird handling of CSIu input protocol)
- Fixes `ssh.known_hosts` configuration loading incorrectly mapping to `ssh.public_key_file`
- Fixes `option_as_alt` configuration option not working (#1812)
- Fixes assertion when displaying Sixel images
- Fixes Sixel image scaling to respect the grid cell size (including font resize related glitches)
- Fixes Blur support on Windows 11
- Fixes Sixel image regression
- Enables customizing predefined color palette (#1763)
- Enables Sixel support on Windows
- Ensure inserting new tabs happens right next to the currently active tab (#1695)
- Allow glyphs to underflow if they are not bigger than the cell size (#1603)
- Adds contour.exe to system search path on Windows during installation
- Adds `MoveTabToLeft` and `MoveTabToRight` actions to move tabs around (#1695)
- Adds `MoveTabTo` action to move tabs to a specific position (#1695)
- Adds handling of control codes for Ctrl+5|6|7|8 (#1701)
- Adds CenterCursor (`zz`) vi motion
- Adds ability to name tabs (#1690)
- Adds dynamic loading of conpty.dll to allow mouse mode on Windows 10
- Adds git graph drawing glyphs
- Adds new arc style for box drawing characters
- Adds multiple rendering options for braille characters
- Adds configuration action ToggleInputMethodHandling to allow toggling IME (Input Method Editor) handling (#1813)
- Adds configuration option `input_method_editor` to profile settings to opt-out of IME (Input Method Editor) support (#1817)
- Adds background blur support for KDE Plasma on Wayland (for Qt 6.5.0 and newer)
- Adds VT sequences for double width / double height lines, `DECDHL`, `DECDWL`, `DECSWL` (#137)
- Adds VT sequence extension OSC 133 shell integration (#793)
- Adds support for rendering COLRv1 fonts (e.g. new Google Noto Color Emoji)
- Drop Qt5 support

