mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-18 06:15:51 +00:00
This reverts commit c445f43f8d.
This commit is contained in:
@@ -5,7 +5,7 @@ import React, {
|
||||
useLayoutEffect,
|
||||
useMemo,
|
||||
} from 'react'
|
||||
import type { Key } from '@anthropic/ink'
|
||||
import type { Key } from '../ink.js'
|
||||
import {
|
||||
type ChordResolveResult,
|
||||
getBindingDisplayText,
|
||||
|
||||
@@ -8,11 +8,11 @@
|
||||
*/
|
||||
import React, { useCallback, useEffect, useRef, useState } from 'react'
|
||||
import { useNotifications } from '../context/notifications.js'
|
||||
import type { InputEvent } from '@anthropic/ink'
|
||||
import type { InputEvent } from '../ink/events/input-event.js'
|
||||
// ChordInterceptor intentionally uses useInput to intercept all keystrokes before
|
||||
// other handlers process them - this is required for chord sequence support
|
||||
// eslint-disable-next-line custom-rules/prefer-use-keybindings
|
||||
import { type Key, useInput } from '@anthropic/ink'
|
||||
import { type Key, useInput } from '../ink.js'
|
||||
import { count } from '../utils/array.js'
|
||||
import { logForDebugging } from '../utils/debug.js'
|
||||
import { plural } from '../utils/stringUtils.js'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Key } from '@anthropic/ink'
|
||||
import type { Key } from '../ink.js'
|
||||
import type { ParsedBinding, ParsedKeystroke } from './types.js'
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Key } from '@anthropic/ink'
|
||||
import type { Key } from '../ink.js'
|
||||
import { getKeyName, matchesBinding } from './match.js'
|
||||
import { chordToString } from './parser.js'
|
||||
import type {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { useCallback, useEffect } from 'react'
|
||||
import type { InputEvent } from '@anthropic/ink'
|
||||
import { type Key, useInput } from '@anthropic/ink'
|
||||
import type { InputEvent } from '../ink/events/input-event.js'
|
||||
import { type Key, useInput } from '../ink.js'
|
||||
import { useOptionalKeybindingContext } from './KeybindingContext.js'
|
||||
import type { KeybindingContextName } from './types.js'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user