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

claude-code / mods / diff / hooks / views / sections / keyed-pressable / keyed-pressable.ts
11 lines · 299 BRaw
1import type { Pressable } from '../pressable'
2
3/**
4 * A plain Button's face, press and address: a list row's Button, dim at
5 * rest where the built-in's is, the focus ring's start where selected.
6 */
7export type KeyedPressable = Pressable & {
8 key: string
9 isDim: boolean
10 isAutoFocus: boolean
11}