mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:57:35 +00:00
LibVT: Clear the href ID by setting it to None instead of ""
This commit is contained in:
parent
a8c7448ccb
commit
f10dc9cb14
1 changed files with 2 additions and 2 deletions
|
@ -1275,8 +1275,8 @@ void Terminal::execute_osc_sequence(OscParameters parameters, u8 last_byte)
|
||||||
dbgln("Attempted to set href but gave too few parameters");
|
dbgln("Attempted to set href but gave too few parameters");
|
||||||
} else if (parameters[1].is_empty() && parameters[2].is_empty()) {
|
} else if (parameters[1].is_empty() && parameters[2].is_empty()) {
|
||||||
// Clear hyperlink
|
// Clear hyperlink
|
||||||
m_current_state.attribute.href = DeprecatedString();
|
m_current_state.attribute.href = {};
|
||||||
m_current_state.attribute.href_id = DeprecatedString();
|
m_current_state.attribute.href_id = {};
|
||||||
} else {
|
} else {
|
||||||
m_current_state.attribute.href = stringview_ify(2);
|
m_current_state.attribute.href = stringview_ify(2);
|
||||||
// FIXME: Respect the provided ID
|
// FIXME: Respect the provided ID
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue