Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
97f0e62f
Commit
97f0e62f
authored
Apr 22, 2020
by
deuce
Browse files
Fix dellines()
parent
23f263b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/conio/cterm.c
src/conio/cterm.c
+2
-2
No files found.
src/conio/cterm.c
View file @
97f0e62f
...
...
@@ -1145,8 +1145,8 @@ dellines(struct cterminal * cterm, int lines)
coord_conv_xy
(
cterm
,
CTERM_COORD_TERM
,
CTERM_COORD_SCREEN
,
&
maxx
,
&
maxy
);
TERM_XY
(
&
x
,
&
y
);
SCR_XY
(
&
sx
,
&
sy
);
MOVETEXT
(
minx
,
sy
+
lines
,
m
in
x
,
maxy
,
minx
,
sy
);
for
(
i
=
TERM_MAXY
-
lines
;
i
<=
maxy
;
i
++
)
{
MOVETEXT
(
minx
,
sy
+
lines
,
m
ax
x
,
maxy
,
minx
,
sy
);
for
(
i
=
TERM_MAXY
-
lines
;
i
<=
TERM_MAXY
;
i
++
)
{
GOTOXY
(
TERM_MINX
,
i
);
CLREOL
();
}
...
...
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