Commit b9367798 authored by Matan Ziv-Av's avatar Matan Ziv-Av Committed by Kurt Hindenburg
Browse files

Parse parameters of OSC 133 (semantic shell integration).

parent 64cfaa52
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment