Skip to content
Snippets Groups Projects
Commit c59152f9 authored by deuce's avatar deuce
Browse files

"Fix" for partial scroll detection.

parent 12d5d931
No related branches found
No related tags found
No related merge requests found
......@@ -291,7 +291,7 @@ int ansi_puttext(int sx, int sy, int ex, int ey, void* buf)
#if 1
/* Check if this *includes* a scroll */
if(sx==1 && sy==1 && ex==ti.screenwidth && ey==ti.screenheight
&& memcmp(buf,ansivmem,ti.screenwidth*(ti.screenheight-1)*2)==0) {
&& memcmp(buf,ansivmem+ti.screenwidth*2,ti.screenwidth*(ti.screenheight-1)*2)==0) {
/* We need to get to the bottom line... */
if(ansi_row < ti.screenheight-1) {
if(ansi_row > ti.screenheight-5) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment