feat(hooks): expose setTitle to HookUIContext (#446)

This commit is contained in:
Aliou Diallo 2026-01-04 20:55:52 +01:00 committed by GitHub
parent affa618b43
commit 5cb7af1ddc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 34 additions and 1 deletions

View file

@ -685,6 +685,7 @@ export class InteractiveMode {
notify: (message, type) => this.showHookNotify(message, type),
setStatus: (key, text) => this.setHookStatus(key, text),
setWidget: (key, content) => this.setHookWidget(key, content),
setTitle: (title) => this.ui.terminal.setTitle(title),
custom: (factory) => this.showHookCustom(factory),
setEditorText: (text) => this.editor.setText(text),
getEditorText: () => this.editor.getText(),