Skip to content

Commit 65ed96f

Browse files
fix: export Key, KeyAction, Mods, DirtyState as runtime values (#130)
* fix: export Key, KeyAction, Mods, DirtyState as runtime values Amp-Thread-ID: https://ampcode.com/threads/T-019c8a33-a7d6-72da-baa3-6cc640a1738c Co-authored-by: Amp <amp@ampcode.com> * style: fix prettier formatting in lib/index.ts --------- Co-authored-by: Amp <amp@ampcode.com>
1 parent fc99955 commit 65ed96f

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

lib/index.ts

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -71,17 +71,16 @@ export type {
7171
} from './interfaces';
7272

7373
// Ghostty WASM components (for advanced usage)
74-
export { Ghostty, GhosttyTerminal, KeyEncoder, CellFlags, KeyEncoderOption } from './ghostty';
75-
export type {
76-
KeyEvent,
77-
KeyAction,
78-
Key,
79-
Mods,
80-
GhosttyCell,
81-
RGB,
82-
Cursor,
83-
TerminalHandle,
84-
} from './types';
74+
export {
75+
Ghostty,
76+
GhosttyTerminal,
77+
KeyEncoder,
78+
CellFlags,
79+
DirtyState,
80+
KeyEncoderOption,
81+
} from './ghostty';
82+
export { Key, KeyAction, Mods } from './types';
83+
export type { KeyEvent, GhosttyCell, RGB, Cursor, TerminalHandle } from './types';
8584

8685
// Low-level components (for custom integrations)
8786
export { CanvasRenderer } from './renderer';

0 commit comments

Comments
 (0)