Contour for Mac

The latest version of Contour for Mac is 0.8.0.9335, released . Terminal emulator.

What's new in Contour 0.8.0.9335

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

Show 11 more

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 tabcolor to 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 rememberwindowposition to restore the first window’s position and monitor at startup without saving its size (#2164).
  • Adds the global option snaptorows to align window heights to complete terminal rows, avoiding unused space below a bottom status line. Available in Settings and disabled by default (#2158).
  • Adds notificationclosetimeout, 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 earlyexitthreshold with a successful exit status — exit or 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)

Source: github.com

How to update Contour on your Mac

Contour version history

  1. 0.8.0.9335
  2. 0.7.0.8982

    A lot has happened since our last release, and that was already too long ago. So now, it is finally time to tag a release, with an already way too long list of great improvements as well as fixes.

    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 inputmapping. 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 defaultlayout, 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 dimunfocused 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 tabbarposition (Top/Bottom) and tabbarvisibility (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: tabbarposition and tabbarvisibility 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

    Source: github.com

  3. 0.6.3.8249

    Dear package maintainerss

    We've bumped the libunicode dependency to version 0.9.0: https://github.com/contour-terminal/libunicode/releases/tag/v0.9.0

    Dear macOS users

    I find it incredibly hard to package for macOS these days. The project perfectly compiles and runs self built on macOS, but packages build automatically won't. I am still looking into solving this issue. However, if you are one of those guys wanting to help us getting Contour back on track for macOS, we very much welcome contributions, specifically for macOS and the project in general.

    Now let's continue with the regular release notes list:

    Release Notes

    • 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 smoothscrolling profile setting, supporting trackpad pixel deltas, mouse wheel, and keyboard scroll actions
    • Adds natural momentum scrolling for touchpad gestures with configurable falloff via momentumscrolling 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 (${VARNAME} syntax) in configuration file paths for cross-platform config reuse (#1278)
    • Adds configurable font fallback limit (maxfallbackcount) with on-demand loading and persistent locate cache for faster font resolution
    • Adds animated cursor movement between grid cells with ease-out interpolation via cursormotionanimationduration profile setting
    • Adds configurable crossfade transition between primary and alternate screens via screentransition and screentransitionduration profile settings
    • Replaces abrupt cell blink toggle with configurable smooth pulse animation via blinkstyle 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

    Source: github.com

  4. 0.6.2.8008

    A note on macOS:

    Dear macOS users, we sadly were not able to package a self-contained installer for Contour such that you could simply download and install it without any problems. Contour perfectly builds and runs on macOS (any architecture) when built. We want to revive providing .dmg downloads as soon as possible.

    Help wanted: If you know how to properly package a self contained C++ application on macOS, please contact us. :-)

    Major Changes

    • 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.knownhosts configuration loading incorrectly mapping to ssh.publickeyfile
    • Fixes optionasalt 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)

    Source: github.com

  5. 0.6.1.7494
    • Do not abort when failing to create XDGSTATEHOME/contour/crash directory
    • Fixes tab switch crash after resize
    • Fixes tab shrinking after tab creation/switches when a non-zero horizontal window margin is configured
    • Fixes startup crash when window is not yet fully initialized
    • Fixes backtab (Shift+Tab) handling (#1685)
    • Fixes various spelling typos across the codebase (#1688)
    • Improve tab close handling to better select previously focused tab
    • Add action SwitchToPreviousTab to switch to the previously focused tab

    Source: github.com

  6. 0.6.0.7452
    • Add terminal tabs (#90)
    • Add SaveScreenshot and CopyScreenshot action (#210)
    • Add binding to exit normal mode with Esc (#1604)
    • Add config option to switch into insert mode after yank (#1604)
    • Add vi-like normal mode Jumps. '', C-O and C-I motions (#1101)
    • Expose current profile's name through env var CONTOURPROFILE (#1637)
    • Protect user from accidentally pasting too large input (#1198)
    • Improves window size/resize handling on HiDPI monitor settings (#1628)
    • Improves macOS key handling for Option+Left|Right keys to jump between words in the shell
    • Fixes search editor preservation bug on exit from search mode
    • Fixes cropping of underscore character for some fonts (#1603)
    • Fixes DECFRA limits (#1664)
    • Fixes underline styles not being reset on switching to a new style (#1365)

    Source: github.com

  7. 0.5.1.7247

    IMPORTANT: This is a cleanup/bugfix release. The biggest changes are in 0.5.0. We sadly had to drop Ubuntu 20.04 and 22.04 packages, due to too out-dated compiler toolchain. We want to focus on actually building the product and making it better than getting stuck in package maintenance.

    TO THE PACKAGE MAINTAINERS: This release requires latest release of libunicode, which has updated Unicode 16.0.0 support. It will not build with older Unicode standards. libunicode fetches the UCD files during configure step automatically. If you happen to want to let it fetch the system's UCD files, make sure that these are from Unicode 16.0.0 or above.

    • Fixes vi-mode motions like viW, yiW, oiW as well as B and W
    • Fixes rendered backend loading from config
    • Enable support for Unicode version 16.0.0 (#1606)
    • Port to C++20's std::format() (#1598)
    • Drop support for Ubuntu 23.10 and older. In order to have less burdain of maintencne, we only support the latest LTS of Ubuntu, which currently is 24.04 (#1607)

    Source: github.com

  8. 0.5.0.7168
    • macOS package is now Apple Silicon native
    • Add CoreText font fallback implementation for macOS (#1533)
    • Add Ubuntu-24.04 in github actions (#1460)
    • Add 'earlyexitthreshold' config option (#1460)
    • Add AppImage package with Qt6 support (#586)
    • Add ability to customize the indicator statusline through configuration (#687)
    • Add generation of config file from internal state (#1282)
    • Add SGRSAVE and SGRRESTORE VT sequences to save and restore SGR state (They intentionally conflict with XTPUSHSGR and XTPOPSGR)
    • Add extended word selection feature (#1023)
    • Add some more missing vi input motions, such as y$, o$, and many others as initiated by y and o (#1441)
    • Add CPM fallback for the dependencies
    • Add static build
    • Add shell integration for bash shell.
    • Add better bell sound (#1378)
    • Add config entry to configure behaviour on exit from search mode
    • Add config entry to configure font fallback (#225)
    • Add handling of different input commands (#629)
    • Add key bindings disabled indicator for status line (#783)
    • Add support for highlighting matches of the currently selected text area (beyond double click)
    • When switching to normal mode screen will stay in same position (#808)
    • Add customizable per-input-mode default text/background coloring for indicator statusline (#1528)
    • Add option PasteSelection to paste text as a shell input (#1549)
    • Add case-insensitive smart search (#1410)
    • Add OpenBSD support
    • Add new CLI command: contour info config to list missing entries from config file (#1125).
    • Add xdg-terminal-exec support (#1570).
    • Add predefined color palettes (monokai, gruvbox-light/dark, solarized-light/dark, papercolor-light/dark, one-light, one-dark) (#1285).
    • Update of contour.desktop file (#1423)
    • Changed configuration entry values for fontlocator down to native and mock only (#1538).
    • Do not export the TERM environment variable on Windows OS (when using ConPTY).
    • Fixes line corruption after resize (#883)
    • Fixes resize of trivial line (#916)
    • Fixes copying of wrapped line
    • Fixes deletion of spaces on resize
    • Fixes forwarding of input while in normal mode (#1468)
    • Fixes OSC-8 link id collision (#1499)
    • Fixed overlap of glyphs for long codepoints (#1349)
    • Fixed too verbose info during ssh session login (#1447)
    • Fixes corruption of sixel image on high resolution (#1049)
    • Fixes bad wording of OS/X to macOS (#1462)

    Source: github.com

  9. 0.4.3.6442
    • Fixes dead lock bug on mouse selection.

    This is a hotfix release!

    Source: github.com

  10. 0.4.2.6429

    IMPORTANT

    Please download Contour 0.4.3 instead.

    We've made that hotfix release because this release here sadly contains a deadlock on mouse selection.

    We apologize.

    Changelog

    • Fixes Windows alt/control key modifiers (#1408).
    • Fixes Windows built accidentally not including builtin-SSH support (#1427).
    • Fixes some text run segmentation problems, e.g., not making use of some programming ligatures (#395).
    • Fixes mouse scroll wheel events going into the wrong direction if Alt modifier was pressed at the same time (#394).
    • Fixes scripts/install-deps.sh for openSuSE (Tumbleweed) to install the correct dependencies.
    • Fixes missing dependencies for release .deb packages (#1397).
    • Fixes legacy keyboard input protocol not reporting non-Alt modifier (#1411).
    • Fixes thread safety issue on mouse move event handling (#1444).
    • Digitally sign MacOS release binaries using a valid Apple ID.
    • Add support for authenticating to SSH servers with a private key without a password and without requesting for one - also allow password retry (#1425).
    • Default history limit is now 1000 lines rather than 0 lines (#1424).

    New Contributors

    • @saliaku made their first contribution in #1439

    Full Changelog: v0.4.1.6292...v0.4.2.6429

    Source: github.com

Details

Latest version
0.8.0.9335
Released
Last checked
Website
github.com
Homebrew cask
contour