Skip to content

Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as draggable nodes on an infinite pan/zoom canvas. macOS, Linux, and a browser Server Edition.

style(speech): move isMac below the import block (Task 1 review nit)

enes81589df4fad0
diff --git a/src/renderer/canvas/Canvas.tsx b/src/renderer/canvas/Canvas.tsx
index ad3835de7..b4a1862da 100644
--- a/src/renderer/canvas/Canvas.tsx
+++ b/src/renderer/canvas/Canvas.tsx
@@ -188,7 +188,6 @@ import { createCanvasOrder, createReconnectWatch, type CanvasOrder } from '@shar
import { createMutationGuard } from '@shared/canvas-mutations'
import { matchesShortcut } from '@shared/shortcut'
-const isMac = /Mac/i.test(navigator.platform || navigator.userAgent)
import { canvasSyncTarget } from './collab-sync'
import {
applyCanvasMutation,
@@ -227,6 +226,8 @@ import {
type CanvasNode
} from '../state/workspace'
+const isMac = /Mac/i.test(navigator.platform || navigator.userAgent)
+
const GRID = 24
/** How long a successful worktree notice stays on screen before fading itself out. */