Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Konsole
Commits
b9367798
Commit
b9367798
authored
Oct 03, 2022
by
Matan Ziv-Av
Committed by
Kurt Hindenburg
Oct 21, 2022
Browse files
Parse parameters of OSC 133 (semantic shell integration).
parent
64cfaa52
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Vt102Emulation.cpp
View file @
b9367798
...
...
@@ -1063,6 +1063,14 @@ void Vt102Emulation::processSessionAttributeRequest(const int tokenSize, const u
if
(
value
[
0
]
==
QLatin1Char
(
'D'
))
{
_currentScreen
->
setReplMode
(
REPL_None
);
}
QMap
<
QString
,
QString
>
params
;
auto
list
=
value
.
split
(
QLatin1Char
(
';'
));
for
(
int
i
=
1
;
i
<
list
.
size
();
i
++
)
{
int
eq
=
list
.
at
(
i
).
indexOf
(
QLatin1Char
(
'='
));
if
(
eq
>
0
)
{
params
[
list
.
at
(
i
).
mid
(
0
,
eq
)]
=
list
.
at
(
i
).
mid
(
eq
+
1
);
}
}
}
if
(
attribute
==
4
)
{
// RGB colors
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment