Move primitive types from common/Types.ts to common/primitives/Types.ts

Extract low-level types (IParams, ParamsArray, IDisposable, color,
keyboard, mouse, charset, etc.) into primitives/Types.ts. Keep
runtime/integration types (ITerminalOptions, IInputHandler, terminal
modes) in common/Types.ts. Lifecycle re-exports IDisposable from
primitives/Types.ts.

Co-authored-by: Daniel Imms <Tyriar@users.noreply.github.com>
This commit is contained in:
Cursor Agent
2026-06-06 18:32:48 +00:00
co-authored by Daniel Imms
parent f6c1b21258
commit bd8510e3ab
55 changed files with 291 additions and 280 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import { assert } from 'chai';
import { evaluateKeyboardEvent } from './Keyboard';
import { IKeyboardResult, IKeyboardEvent } from '../../Types';
import { IKeyboardResult, IKeyboardEvent } from '../Types';
/**
* A helper function for testing which allows passing in a partial event and defaults will be filled