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 / tests / fixtures / pane-view / noop-actions-of.ts
17 lines · 394 BRaw
1import type Views from '../../../hooks/views'
2import { noop } from './noop.js'
3
4/**
5 * Pane actions that each do nothing, for a tree drawn only to be read.
6 *
7 * @returns the actions
8 */
9export const noopActionsOf = (): Views.PaneActions => ({
10 selectFile: noop,
11 toggleNoise: noop,
12 togglePreSession: noop,
13 scrollList: noop,
14 cycleBase: noop,
15 chooseSource: noop,
16 toggleAsk: noop,
17})