spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

mods/diff: the base picker's labels lose their format characters like every other name drawnBrowse files
poteat authored on Sep 13, 2026 parent 3c94149 · commit 473834136e53
1 changed file+2 -1compared with 3c94149
Mmods/diff/hooks/views/sections/controls-view.tsx
@@ -5,6 +5,7 @@
55
66 import PaneState from '../../pane-state'
77 import type { Kit } from '../kit'
8+import Layout from '../layout'
89 import { present } from './present'
910
1011 /**
@@ -54,7 +55,7 @@
5455 label="base"
5556 options={model.baseModes.map(mode => ({
5657 value: mode,
57- label: PaneState.modeLabelOf(mode, model),
58+ label: Layout.sanitizeName(PaneState.modeLabelOf(mode, model)),
5859 }))}
5960 value={model.requestedMode}
6061 onSelect={value => kit.actions.chooseBase(value)}