chore: flatten src/ to root

This commit is contained in:
2026-03-31 20:55:13 +01:00
parent 51d3b7e05b
commit 0c1b7b051b
1902 changed files with 0 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
import { Event } from './event.js'
export type TerminalFocusEventType = 'terminalfocus' | 'terminalblur'
/**
* Event fired when the terminal window gains or loses focus.
*
* Uses DECSET 1004 focus reporting - the terminal sends:
* - CSI I (\x1b[I) when the terminal gains focus
* - CSI O (\x1b[O) when the terminal loses focus
*/
export class TerminalFocusEvent extends Event {
readonly type: TerminalFocusEventType
constructor(type: TerminalFocusEventType) {
super()
this.type = type
}
}