You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: gate RegisterCsiHandler for CSI t with WindowOptions permission check
Wrap user-provided CSI t handlers registered via RegisterCsiHandler with a
permission check against the terminal's WindowOptions configuration. Without
this gate, custom handlers were called for all window option parameters
regardless of configuration.
Add WindowOptions struct, paramToWindowOption helper, and WithWindowOptions
option constructor. The default WindowOptions denies all sub-commands,
matching upstream xterm.js behavior.
Fixes#40
Co-authored-by: Ona <no-reply@ona.com>
0 commit comments