termio: use surface messages to trigger password input state

This commit is contained in:
Mitchell Hashimoto
2024-09-18 21:13:54 -07:00
parent 42e7cbc475
commit e3d528cf0b
3 changed files with 40 additions and 13 deletions

View File

@@ -65,6 +65,11 @@ pub const Message = union(enum) {
/// a window and switching tabs.
present_surface: void,
/// Notifies the surface that password input has started within
/// the terminal. This should always be followed by a false value
/// unless the surface exits.
password_input: bool,
pub const ReportTitleStyle = enum {
csi_21_t,