Skip to content
GitLab
Menu
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
f717cd5f
Commit
f717cd5f
authored
Feb 25, 2022
by
Luis Javier Merino
Committed by
Tomaz Canabrava
Mar 04, 2022
Browse files
Move token_csi_pg just after token_csi_pe
parent
60b48fdc
Pipeline
#145079
passed with stage
in 2 minutes and 1 second
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/Vt102Emulation.cpp
View file @
f717cd5f
...
...
@@ -1273,6 +1273,10 @@ void Vt102Emulation::processToken(int token, int p, int q)
// DECSTR (Soft Terminal Reset)
case
token_csi_pe
(
'p'
)
:
reset
(
true
);
break
;
//VT220
case
token_csi_pq
(
'c'
)
:
reportTertiaryAttributes
(
);
break
;
//VT420
case
token_csi_pg
(
'c'
)
:
reportSecondaryAttributes
(
);
break
;
//VT100
case
token_csi_pg
(
'q'
)
:
reportVersion
(
);
break
;
//FIXME: when changing between vt52 and ansi mode evtl do some resetting.
case
token_vt52
(
'A'
)
:
_currentScreen
->
cursorUp
(
1
);
break
;
//VT52
case
token_vt52
(
'B'
)
:
_currentScreen
->
cursorDown
(
1
);
break
;
//VT52
...
...
@@ -1292,10 +1296,6 @@ void Vt102Emulation::processToken(int token, int p, int q)
case
token_vt52
(
'='
)
:
setMode
(
MODE_AppKeyPad
);
break
;
//VT52
case
token_vt52
(
'>'
)
:
resetMode
(
MODE_AppKeyPad
);
break
;
//VT52
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
();
break
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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