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
caf5fceb
Commit
caf5fceb
authored
Sep 30, 2021
by
Luis Javier Merino
Browse files
Insert Lines should be a noop if outside margins
From esctest: ICHTests.test_ICH_ScrollOffRightMarginInScrollRegion
parent
8c3a1f83
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Screen.cpp
View file @
caf5fceb
...
...
@@ -320,6 +320,9 @@ void Screen::deleteLines(int n)
void
Screen
::
insertLines
(
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