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
60b48fdc
Commit
60b48fdc
authored
Feb 25, 2022
by
Luis Javier Merino
Committed by
Tomaz Canabrava
Mar 04, 2022
Browse files
Implement XTVERSION
parent
bcd83d81
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/Vt102Emulation.cpp
View file @
60b48fdc
...
...
@@ -1294,6 +1294,7 @@ void Vt102Emulation::processToken(int token, int p, int q)
case
token_csi_pq
(
'c'
)
:
reportTertiaryAttributes
(
);
break
;
//VT420
case
token_csi_pg
(
'c'
)
:
reportSecondaryAttributes
(
);
break
;
//VT100
case
token_csi_pg
(
'q'
)
:
reportVersion
(
);
break
;
default:
reportDecodingError
();
...
...
@@ -1600,6 +1601,11 @@ void Vt102Emulation::reportSecondaryAttributes()
// konsoles backward compatibility.
}
void
Vt102Emulation
::
reportVersion
()
{
sendString
(
"
\033
P>|Konsole "
KONSOLE_VERSION
"
\033\\
"
);
}
/* DECREPTPARM – Report Terminal Parameters
ESC [ <sol>; <par>; <nbits>; <xspeed>; <rspeed>; <clkmul>; <flags> x
...
...
src/Vt102Emulation.h
View file @
60b48fdc
...
...
@@ -156,6 +156,7 @@ private:
void
reportTerminalType
();
void
reportTertiaryAttributes
();
void
reportSecondaryAttributes
();
void
reportVersion
();
void
reportStatus
();
void
reportAnswerBack
();
void
reportCursorPosition
();
...
...
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