mirror of
1
0
Fork 0

Only move cursor back if not at home

This commit is contained in:
Tristan B. Kildaire 2020-05-05 19:44:44 +02:00
parent 0b0159f568
commit 1deb1d8130
1 changed files with 6 additions and 1 deletions

View File

@ -153,7 +153,12 @@ void newEditor(struct Session* session)
seq[1] = 91;
seq[2] = 68;
session->position--;
/* Only move cursor back if we not at home */
if(session->position)
{
session->position--;
}
}
// output(seq, 3);