mirror of
https://github.com/alrayyes/st.git
synced 2024-11-22 03:16:22 +00:00
cleaned some spaces.
This commit is contained in:
parent
5d611cd547
commit
42b2912e21
1 changed files with 9 additions and 9 deletions
18
st.c
18
st.c
|
@ -440,11 +440,11 @@ tmoveto(int x, int y) {
|
|||
void
|
||||
twrapcursor(void) {
|
||||
int y = term.c.y+1;
|
||||
if(y > term.bot) {
|
||||
tmoveto(0, term.bot);
|
||||
tscroll();
|
||||
} else
|
||||
tmoveto(0, y);
|
||||
if(y > term.bot) {
|
||||
tmoveto(0, term.bot);
|
||||
tscroll();
|
||||
} else
|
||||
tmoveto(0, y);
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -971,10 +971,10 @@ tputc(char c) {
|
|||
break;
|
||||
default:
|
||||
tsetchar(c);
|
||||
if(term.c.x+1 < term.col) {
|
||||
tmoveto(term.c.x+1, term.c.y);
|
||||
} else if(IS_SET(MODE_WRAP))
|
||||
twrapcursor();
|
||||
if(term.c.x+1 < term.col) {
|
||||
tmoveto(term.c.x+1, term.c.y);
|
||||
} else if(IS_SET(MODE_WRAP))
|
||||
twrapcursor();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue