cd /news/developer-tools/rex-can-now-resume-your-programs-thr… · home › topics › developer-tools › article
[ARTICLE · art-176640] src=twitter.com ↗ pub= topic=developer-tools verified=true sentiment=↑ positive

Rex can now resume your programs through a server restart

Rex now lets any program resume after a server restart using OSC 7577, a new terminal escape-sequence protocol Rex published today in collaboration with @herdrdev and reviewed by multiple terminal emulator and terminal program authors. Rex ships with built-in support for Claude Code, emitting OSC 7577 in a session start hook, and offers Lua-based configuration to opt in to resume per program by name, path, working directory and command-line flags, or to disable the feature with one line. Rex states that program restart in terminals is fundamentally unsafe and that the security of the mechanism ultimately lies in the terminal emulator.

key takeaway

Any program can opt into restart-resume by emitting the OSC 7577 escape sequence, with no terminal-specific integration; Rex gates it per program via Lua config on name, path, working directory and flags.

read1 min views12 publishedNov 26, 2026
Rex can now resume your programs through a server restart
Image: source

Rex can now resume your programs through a server restart! This is based on a brand new terminal protocol we're also publishing today (OSC 7577) that we worked on in collaboration with @herdrdev with review from multiple terminal emulator and terminal program authors. Link: superlogical.com/rex/docs/build… This means that ANY program can restart, not just agentic coding tools, and it doesn't require any special integration with any specific terminal or out-of-band protocol. It's plain old terminal escape sequences that are easily implemented by any program! Rex is shipping with built-in support for Claude Code to start (we emit OSC 7577 in a session start hook), but hope that other programs will adopt this and enable restart. Program restart in terminals is fundamentally unsafe, so a lot of effort was put into making this as safe as possible. Ultimately, the security of this lies in the terminal emulator. For Rex, we have a highly flexible Lua-based configuration to opt-in to resume on a program-by-program basis. You can filter by program name, path, working directory, command-line flags, and more. You can also disable the whole thing with one line.

── more in #developer-tools 4 stories · sorted by recency
── more on @rex 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/rex-can-now-resume-y…] indexed:0 read:1min 2026-11-26 · —