Repository navigation
Corta v1.2.0
Corta v1.2.0
Corta 1.2 is a performance release: faster from the byte a program writes
to the pixel on the panel, lighter in memory, and quieter when nothing is
happening. Figures are from one Apple M5 MacBook Air, before and after on
the same machine and toolchain; Performance has each
method and what it does not show.
Changed
- 2.3× the output throughput. The parser and grid take 355.9 MiB/s,
up from 158.0, and output arriving from a shell 317.3 MiB/s, up from
137.2. Runs of printable text are classified 16 bytes at a time with NEON;
common CJK text skips the width table (+23%), andyesruns 70% faster. - A frame less from keypress to glass in full screen. A full-screen
window with one pane presents its frames directly to the display instead
of through the window server's compositor. A person typing sees the median
drop from 64–68 ms to 49–51 ms and the worst cases halve (p99 154–180 →
83–84 ms). Nothing visible changes;CORTA_DIRECT_FULLSCREEN=0turns it
off for a comparison. - The panel's full refresh rate while you type. Typing, committed
input-method text, paste and mouse reports lift the frame-rate ceiling to
the panel's maximum — 120 Hz on ProMotion — and it settles a second after
the last key. Critical thermal pressure still limits it. - Scrolling reuses what is already drawn. Scroll regions, history and
inserted or deleted lines shift the rendered rows instead of rebuilding
them: a one-line region scroll takes 0.026 ms of CPU a frame instead of
0.130, and output arriving while you read history 0.010 ms instead of
0.096. Screen rows keep their memory as they scroll. - Scrollback in a fraction of the memory. Cold history is compressed in
memory as it arrives, off the terminal lock: 100,000 lines of 120 columns
take 11.4 MiB instead of 185. Search, resize and reflow read it in place. - Smaller GPU footprint. A rendered quad is 24 bytes instead of 48, and
glyph atlases grow on demand: four panes at a prompt hold about 1 MiB of
atlas instead of 81 MiB. The atlas's rectangle table is uploaded only when
it changes. - Quieter at rest. An idle blinking cursor is animated by Core Animation
instead of redrawn every half second; an idle shell no longer wakes its
reader four times a second; a pane you cannot see drops its reader to
background priority after two seconds, and returns to interactive
priority the moment you type or paste. - Kitty images are decoded by the sandboxed helper straight into memory the
GPU reads, with no copy through the app, then moved into GPU-private
storage; raw RGB/RGBA images are converted in place. - The disk image is an APFS volume compressed with lzma, about 15% smaller
to download than 1.1.9's. Opening it shows a fixed window with Corta, an
arrow and the Applications folder. - Changing the font size (⌘= / ⌘− / ⌘0, a pinch or Settings) keeps the
window's frame; only the rows and columns refit, as in full screen and
with splits. - An ended session shows a compact, centred card with accessible
New Session and Close Pane buttons that fit narrow panes. - An opt-in per-window render thread (
CORTA_RENDER_THREAD=1) is available
for testing; it stays off by default.
Fixed
- With View ▸ Show Tab Bar on, a new window opens at the configured
rows
instead of two or three rows short. - Kitty images inside a scroll region — and lines inserted or deleted around
them, as vim, less and tmux do — move with their text and are cropped at
the region's edge, including in the alternate screen and with scrollback
off. - A Kitty image near the 16-million-pixel limit whose width needed padding
for the GPU was refused; it now shows. Narrow images and many small ones
no longer fill the image budget early, and an image whose upload met a
busy GPU is retried instead of staying blank. - In full screen, a frame whose rendering failed is redrawn instead of
being presented as drawn. - Square table corners stop at the strokes they join instead of protruding
past the border, at every display scale. - Directory suggestions hide while an input method composes text, so they
no longer overlap the preedit or the candidate window. - Input-method and accessibility cell positions match what is drawn while a
live resize briefly makes the grid taller than its pane. - Idle blinking cursors give way to the drawn cursor before new output
renders, so a cursor is never shown twice. - Automatic focus reports no longer raise a hidden pane's reader priority;
only your input does. - With
CORTA_RENDER_THREAD=1, a GPU that stops responding no longer takes
the app down when a pane closes or the font changes.
Security
- The image decoder's sandbox is verified by the test suite instead of by a
deliberate denied file read on every image, which logged a sandbox
violation for each picture shown. - Every pull request is scanned by CodeQL (Swift, C, Python and workflows)
and dependency review before it can merge.
See CHANGELOG.md for the full history.
Requires macOS 26.0 or later on a Mac with Apple silicon.
Install
Download Corta-1.2.0.dmg and its .sha256 file.
shasum -a 256 -c Corta-1.2.0.dmg.sha256Open the disk image, drag Corta into Applications, then eject the disk image.
SHA-256 5c4d825b1d1c92496b716f58be24587e238540f35229a55735a095ccdf8b3e59
Built with Xcode 26.6 (17F113)