Repository navigation
Red Editor v0.11.1
Red v0.11.1: Faster cursor movement, and Markdown images that stay put
Red v0.11.1 is a performance release. Moving the cursor redraws only the rows that changed, and Markdown images already on screen are reused instead of sent to the terminal again while you type and scroll. It also fixes a Windows startup problem and a scrolling edge case.
Highlights
- Improved: Faster cursor movement. Indentation guides are reused while the cursor stays in the same scope, and a cursor move redraws only the rows that changed since the last frame. Median latency for moving within the screen fell from 1.76 to 0.98 ms on macOS, and p95 fell from 1.82 to 1.15 ms on Linux. Scrolling p95 on Linux fell from 2.47 to 2.20 ms.
- Improved: Markdown images stay on screen while you edit. An image already drawn is reused while you type, move the cursor, or scroll, instead of being encoded and sent to the terminal again. In Kitty-protocol terminals, an image entering or leaving the view no longer makes Red upload the others again.
- Improved: Steadier on Windows and with wrapped lines. On Windows, the terminal's reply to Red's graphics check no longer arrives as keystrokes at startup. With scrolloff set and long lines wrapping, moving into the top margin scrolls up exactly one row.
What's Changed
Performance
- Reduce cursor redraw work and benchmark native editor navigation by @fcoury-oai in #436
- Reuse Markdown image pixels during editing and scrolling by @fcoury-oai
Contributors
- @fcoury in #437
- @fcoury-oai in #436
Installation
Homebrew
brew install codersauce/tap/redmacOS
curl --proto '=https' --tlsv1.2 -fsSL https://getred.dev/install.sh | shLinux
curl --proto '=https' --tlsv1.2 -fsSL https://getred.dev/install.sh | shWindows
irm https://getred.dev/install.ps1 | iexInstall Codex separately and run codex login to enable agent support.
Checksums
Download SHA256SUMS.txt from this release to verify archives. Its signature,
SHA256SUMS.txt.minisig, verifies with minisign:
minisign -Vm SHA256SUMS.txt -P RWRNnsasbTdAjgpMwO4feHrX57Rr4uPupGSKZxVZRDTi3IuRON8kF3hE