History

Rename terminal-shortcuts module to keybindings

- Rename `terminal-shortcuts.ts` and its test to `keybindings` - Update ChatView and ThreadTerminalDrawer imports to use new module path

Julius Marminge committed 9 months ago

Commit ace58031 parent 645b0374 files · +3 −3Browse files

Unified · Split

4 files
  1. apps/web/src/components/ChatView.tsx +1 −1
  2. apps/web/src/components/ThreadTerminalDrawer.tsx +1 −1
  3. apps/web/src/keybindings.test.ts +1 −1
  4. apps/web/src/keybindings.ts +0 −0
apps/web/src/components/ChatView.tsx+1−1
@@ -58,7 +58,7 @@ import { · 57 unmodified lines
5858 isTerminalToggleShortcut,
5959 resolveTerminalKeybindings,
6060 shortcutLabelForCommand,
61−} from "../terminal-shortcuts";
61+} from "../keybindings";
6262 import ChatMarkdown from "./ChatMarkdown";
6363 import ThreadTerminalDrawer from "./ThreadTerminalDrawer";
6464 import { useNativeApi } from "../hooks/useNativeApi";
apps/web/src/components/ThreadTerminalDrawer.tsx+1−1
@@ -18,7 +18,7 @@ import { · 17 unmodified lines
1818 preferredTerminalEditor,
1919 resolvePathLinkTarget,
2020 } from "../terminal-links";
21−import { isTerminalClearShortcut } from "../terminal-shortcuts";
21+import { isTerminalClearShortcut } from "../keybindings";
2222 import {
2323 DEFAULT_THREAD_TERMINAL_HEIGHT,
2424 DEFAULT_THREAD_TERMINAL_ID,
apps/web/src/keybindings.test.tsrenamed from apps/web/src/terminal-shortcuts.test.ts+1−1
@@ -10,7 +10,7 @@ import { · 9 unmodified lines
1010 resolveTerminalKeybindings,
1111 shortcutLabelForCommand,
1212 type ShortcutEventLike,
13−} from "./terminal-shortcuts";
13+} from "./keybindings";
1414
1515 function event(overrides: Partial<ShortcutEventLike> = {}): ShortcutEventLike {
1616 return {
apps/web/src/keybindings.tsrenamed from apps/web/src/terminal-shortcuts.ts+0−0

File renamed without changes.