mirror of
https://github.com/binaricat/Netcatty.git
synced 2026-11-17 13:01:24 +00:00
Replace immersive instant-switch with animated active chrome theme sync so top tabs match terminal sessions immediately on tab click, and clamp autocomplete popups to the active pane so they stay anchored to the cursor in split workspaces. Co-authored-by: Cursor <cursoragent@cursor.com>
14 lines
546 B
TypeScript
14 lines
546 B
TypeScript
import assert from 'node:assert/strict';
|
|
import { readFileSync } from 'node:fs';
|
|
import test from 'node:test';
|
|
|
|
const source = readFileSync(new URL('./TerminalLayerTabBridge.tsx', import.meta.url), 'utf8');
|
|
|
|
test('terminal layer bridge does not dock the shared host tree', () => {
|
|
assert.doesNotMatch(source, /hostTreeDockedInLayer/);
|
|
});
|
|
|
|
test('terminal layer is visible only for terminal sessions or workspaces', () => {
|
|
assert.match(source, /const isVisible = Boolean\(activeSession \|\| activeWorkspace \|\| s\.draggingSessionId\)/);
|
|
});
|