Remove legacy 15% edge dead-zone from terminal drag-and-drop adapter #2

Open
opened 2026-09-02 02:35:45 -04:00 by toph · 0 comments
Owner

Location

src/lib/features/dnd/adapters/terminal.svelte.ts:89-103

Problem

The terminal DnD adapter calculates a 15% edge margin that originally served to differentiate pane-split drop zones from terminal surface drops. Since split panes have been removed, drops near the outer 15% boundary of a terminal are now silently ignored instead of pasting the file path.

Suggested Fix

Remove the edge dead-zone calculation so that the entire terminal container bounds accept file drops.

### Location `src/lib/features/dnd/adapters/terminal.svelte.ts:89-103` ### Problem The terminal DnD adapter calculates a 15% edge margin that originally served to differentiate pane-split drop zones from terminal surface drops. Since split panes have been removed, drops near the outer 15% boundary of a terminal are now silently ignored instead of pasting the file path. ### Suggested Fix Remove the edge dead-zone calculation so that the entire terminal container bounds accept file drops.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
toph/Sworm#2
No description provided.