I asked an agent to build me an HTML artifact this morning, hit the link in the terminal, and got the file rendered into a cmux pane next to me instead of opening in Safari where it had landed for the last few weeks. The artifact looked fine, but the in-app preview pane is not what I want for an HTML page I'm about to QA at 1920×1080 with devtools open.
So: what changed, and how to flip it back.
#What changed
The behaviour switched in cmux 0.64.5, released on 13 May 2026. Buried in that release is PR #4041 — "Open supported files in cmux on cmd-click". It added a new setting that defaults to true:
When it's on, cmd-clicking a readable local file (text, code, PDFs, images, audio, video, HTML) opens the cmux preview pane instead of handing the path to whatever macOS has registered as the default opener for that extension.
For most file types that's actually nice. I don't need a fresh Preview.app window for every PNG. For HTML it's the wrong default for me, because the whole reason I open the HTML file is to drive it in a real browser with devtools and ad-blockers and all my session state.
#The fix
There are three ways in:
- Settings UI → toggle Open Supported Files in cmux off.
- Command palette → run the disable action.
~/.config/cmux/settings.json→ set the key directly.
I went for option 3 because I keep my cmux config in ~/.config/cmux/ alongside the rest of my dotfiles:
cmux picks the change up live, no restart needed in my case. If the pane keeps catching files after the edit, give it a relaunch.
#Worth noting
The toggle is global across every file type the new feature covers. There is no per-extension carve-out today, so turning it off also sends your markdown previews and image previews back to the OS default. If you only want to push HTML out and keep the markdown preview, leave it on and just right-click → Open With → your browser when you need to.
HTTPS links are a separate story. Those still respect the Browser → Host Whitelist setting, which is the one I use to keep GitHub PRs and a handful of internal dashboards opening in cmux instead of bouncing to Safari. That's working exactly as I want it to. The only thing PR #4041 touches is local file cmd-clicks.
#Why I noticed
I had been bouncing artifacts out to Safari for weeks without thinking about it, because that's where I want to QA them. Daniel Mackay actually flagged the new behaviour the other day, but my own workflow hadn't tripped on it yet (or maybe I'm just getting allergic to updating things with all the vulns going around 😅) so I let it slide. When it finally bit me this morning I pinged him about it. That nerd-sniped him into going off to find the fix at the same time I was. He came back with the UI toggle in the cmux settings panel, I came back with the JSON key, and we pinged each other simultaneously. Teams says he sent the message first... but we all know he should have done that before now 😉
The new default is sensible for plenty of workflows, just not mine. If your last few HTML artifacts from an agent opened in a cmux pane and you wondered when that started, this is when.
![]()
Gordon Beeming
Father • Husband • Triathlete • SSW Solution Architect
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.