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
8c3a1f83
Commit
8c3a1f83
authored
Sep 30, 2021
by
Luis Javier Merino
Browse files
Delete Lines should be a noop if outside margins
From esctest: DLTests.test_DL_OutsideScrollRegion
parent
23007bb9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Screen.cpp
View file @
8c3a1f83
...
...
@@ -309,6 +309,9 @@ void Screen::repeatChars(int n)
void
Screen
::
deleteLines
(
int
n
)
{
if
(
_cuY
<
_topMargin
)
{
return
;
}
if
(
n
<
1
)
{
n
=
1
;
// Default
}
...
...
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