News for hackers. Stuff that matters.
Re:OpenCode – The open source AI coding agent by ctmnt on Saturday March 21, 2026 @07:20AM (#47466021)
I think you’re confusing capital c Claude Code, the desktop Electron app, and lowercase c `claude`, the command line tool with an interactive TUI. They’re both TypeScript under the hood, but the latter is React + Ink rendered into the terminal.

The redraw glitches you’re referring to are actually signs of what I consider to be a pretty major feature, a reason to use `claude` instead of `codex` or `opencode`: `claude` doesn’t use the alternate screen, whereas the other two do. Meaning that it uses the standard screen buffer, meaning that your chat history is in the terminal (or multiplexer) scrollback. I much prefer that, and I totally get why they’ve put so much effort into getting it to work well.

In that context handling SIGWINCH has some issues and trickiness. Well worth the tradeoff, imo.

Re:OpenCode – The open source AI coding agent by jimmydoe on Saturday March 21, 2026 @08:48AM (#47466555)
not sure if same reason but window resize feels better in claude than codex.

on my m1, claude is noticeably slower when starting, but it feels ok after that.

Re:OpenCode – The open source AI coding agent by walthamstow on Saturday March 21, 2026 @04:13PM (#47470828)
I had a nasty slow claude code startup time at one point something like 8s, a clean install sorts it all out. Back up your mcp config and skills and you're good.
Re:OpenCode – The open source AI coding agent by MarsIronPI on Saturday March 21, 2026 @10:32PM (#47473887)
That sounds like poor engineering on Anthropic's part. Good software doesn't slow down over time like that.
Re:OpenCode – The open source AI coding agent by conradev on Saturday March 21, 2026 @02:45PM (#47469977)
Codex is using its app server protocol to build a nice client/server separation that I enjoy on top of the predictable Rust performance.

You can run a codex instance on machine A and connect the TUI to it from machine B. The same open source core and protocol is shared between the Codex app, VS Code and Xcode.

Re:OpenCode – The open source AI coding agent by jitl on Saturday March 21, 2026 @03:04PM (#47470169)
OpenCode works this way too
Re:OpenCode – The open source AI coding agent by EnPissant on Saturday March 21, 2026 @04:51PM (#47471186)
That's the same reason I don't like Opencode, but Codex doesn't use the alternate screen. I remember it did when it was very very new, but now it doesn't.
Re:OpenCode – The open source AI coding agent by ctmnt on Saturday March 21, 2026 @08:03PM (#47472901)
Ah nice, good to know. I hadn’t used codex in a while. I actually really like opencode and its ui, just wish it didn’t clear the screen on exit. It could at least redraw whatever was last in the chat, that would be better than nothing.
Re:OpenCode – The open source AI coding agent by forsakenharmony on Saturday March 21, 2026 @08:30PM (#47473089)
well it still does something weird which breaks scrollback in zellij, it's a known issue, but who knows when it's getting fixed