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
5d6d0b43
Commit
5d6d0b43
authored
Sep 17, 2022
by
Matan Ziv-Av
Committed by
Tomaz Canabrava
Oct 03, 2022
Browse files
Keep selection cursor in place when scrolling due to output
parent
f26f71db
Pipeline
#241067
passed with stage
in 6 minutes and 30 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
src/Screen.cpp
View file @
5d6d0b43
...
...
@@ -1334,6 +1334,7 @@ void Screen::scrollUp(int from, int n)
if
(
_hasGraphics
)
{
scrollPlacements
(
n
);
}
_selCuY
=
qMax
(
_selCuY
-
n
,
-
_history
->
getLines
());
if
(
_replMode
!=
REPL_None
)
{
if
(
_replModeStart
.
first
>
0
)
{
_replModeStart
=
std
::
make_pair
(
_replModeStart
.
first
-
1
,
_replModeStart
.
second
);
...
...
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