- Rename `terminal-shortcuts.ts` and its test to `keybindings` - Update ChatView and ThreadTerminalDrawer imports to use new module path
Unified · Split
| @@ -58,7 +58,7 @@ import { · 57 unmodified lines | |||
| 58 | isTerminalToggleShortcut, | 58 | isTerminalToggleShortcut, |
| 59 | resolveTerminalKeybindings, | 59 | resolveTerminalKeybindings, |
| 60 | shortcutLabelForCommand, | 60 | shortcutLabelForCommand, |
| 61 | } from "../terminal-shortcuts"; | 61 | } from "../keybindings"; |
| 62 | import ChatMarkdown from "./ChatMarkdown"; | 62 | import ChatMarkdown from "./ChatMarkdown"; |
| 63 | import ThreadTerminalDrawer from "./ThreadTerminalDrawer"; | 63 | import ThreadTerminalDrawer from "./ThreadTerminalDrawer"; |
| 64 | import { useNativeApi } from "../hooks/useNativeApi"; | 64 | import { useNativeApi } from "../hooks/useNativeApi"; |
| @@ -18,7 +18,7 @@ import { · 17 unmodified lines | |||
| 18 | preferredTerminalEditor, | 18 | preferredTerminalEditor, |
| 19 | resolvePathLinkTarget, | 19 | resolvePathLinkTarget, |
| 20 | } from "../terminal-links"; | 20 | } from "../terminal-links"; |
| 21 | import { isTerminalClearShortcut } from "../terminal-shortcuts"; | 21 | import { isTerminalClearShortcut } from "../keybindings"; |
| 22 | import { | 22 | import { |
| 23 | DEFAULT_THREAD_TERMINAL_HEIGHT, | 23 | DEFAULT_THREAD_TERMINAL_HEIGHT, |
| 24 | DEFAULT_THREAD_TERMINAL_ID, | 24 | DEFAULT_THREAD_TERMINAL_ID, |
| @@ -10,7 +10,7 @@ import { · 9 unmodified lines | |||
| 10 | resolveTerminalKeybindings, | 10 | resolveTerminalKeybindings, |
| 11 | shortcutLabelForCommand, | 11 | shortcutLabelForCommand, |
| 12 | type ShortcutEventLike, | 12 | type ShortcutEventLike, |
| 13 | } from "./terminal-shortcuts"; | 13 | } from "./keybindings"; |
| 14 | 14 | ||
| 15 | function event(overrides: Partial<ShortcutEventLike> = {}): ShortcutEventLike { | 15 | function event(overrides: Partial<ShortcutEventLike> = {}): ShortcutEventLike { |
| 16 | return { | 16 | return { |
File renamed without changes.