Files
hermes-agent/ui-tui/packages/hermes-ink/src/ink/events/mouse-event.ts
T
2026-06-14 14:30:48 -04:00

19 lines
407 B
TypeScript

import { Event } from './event.js'
export class MouseEvent extends Event {
readonly col: number
readonly row: number
localCol = 0
localRow = 0
readonly cellIsBlank: boolean
readonly button: number
constructor(col: number, row: number, cellIsBlank: boolean, button: number) {
super()
this.col = col
this.row = row
this.cellIsBlank = cellIsBlank
this.button = button
}
}