mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 07:44:59 +00:00
Terminal: Propagate changes in automark settings to the terminal
This commit is contained in:
parent
0bdb222953
commit
fa37a220d6
1 changed files with 3 additions and 0 deletions
|
@ -77,6 +77,9 @@ public:
|
||||||
} else if (group == "Cursor" && key == "Shape") {
|
} else if (group == "Cursor" && key == "Shape") {
|
||||||
auto cursor_shape = VT::TerminalWidget::parse_cursor_shape(value).value_or(VT::CursorShape::Block);
|
auto cursor_shape = VT::TerminalWidget::parse_cursor_shape(value).value_or(VT::CursorShape::Block);
|
||||||
m_parent_terminal.set_cursor_shape(cursor_shape);
|
m_parent_terminal.set_cursor_shape(cursor_shape);
|
||||||
|
} else if (group == "Terminal" && key == "AutoMark") {
|
||||||
|
auto automark_mode = VT::TerminalWidget::parse_automark_mode(value).value_or(VT::TerminalWidget::AutoMarkMode::MarkInteractiveShellPrompt);
|
||||||
|
m_parent_terminal.set_auto_mark_mode(automark_mode);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue