mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:17:44 +00:00
LibVT: Support the DA (Device Attributes) request (final 'c')
This is used by vttest on startup to query the device for identity.
This commit is contained in:
parent
f4e7aecec2
commit
e6f5ce8285
4 changed files with 27 additions and 0 deletions
|
@ -679,6 +679,13 @@ void TerminalWidget::beep()
|
|||
force_repaint();
|
||||
}
|
||||
|
||||
void TerminalWidget::emit_char(u8 ch)
|
||||
{
|
||||
if (write(m_ptm_fd, &ch, 1) < 0) {
|
||||
perror("emit_char: write");
|
||||
}
|
||||
}
|
||||
|
||||
void TerminalWidget::context_menu_event(GContextMenuEvent& event)
|
||||
{
|
||||
if (!m_context_menu) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue