mirror of
https://github.com/mintycube/st.git
synced 2024-10-22 14:05:49 +02:00
[st][scrollback] Update for latest git
This commit is contained in:
parent
914cee019d
commit
56ff8cd7c7
10
st.c
10
st.c
@ -1147,7 +1147,12 @@ tscrolldown(int orig, int n)
|
|||||||
term.line[i-n] = temp;
|
term.line[i-n] = temp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if SCROLLBACK_PATCH
|
||||||
|
if (term.scr == 0)
|
||||||
selscroll(orig, n);
|
selscroll(orig, n);
|
||||||
|
#else
|
||||||
|
selscroll(orig, n);
|
||||||
|
#endif // SCROLLBACK_PATCH
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
@ -1183,7 +1188,12 @@ tscrollup(int orig, int n)
|
|||||||
term.line[i+n] = temp;
|
term.line[i+n] = temp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if SCROLLBACK_PATCH
|
||||||
|
if (term.scr == 0)
|
||||||
selscroll(orig, -n);
|
selscroll(orig, -n);
|
||||||
|
#else
|
||||||
|
selscroll(orig, -n);
|
||||||
|
#endif // SCROLLBACK_PATCH
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user