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
10 lines · 250 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 draws the row dim.
6 */
7export type KeyedPressable = Pressable & {
8 key: string
9 isDim: boolean
10}