1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-03 03:26:45 +02:00

move to page end after pressing return

This commit is contained in:
Jfreegman
2014-09-25 00:42:08 -04:00
parent 00cccad22c
commit 3a176e1cab
5 changed files with 13 additions and 7 deletions

View File

@ -212,6 +212,7 @@ static void prompt_onKey(ToxWindow *self, Tox *m, wint_t key, bool ltr)
wclear(ctx->linewin);
wmove(self->window, y2 - CURS_Y_OFFSET, 0);
line_info_reset_start(self, ctx->hst);
reset_buf(ctx);
}
}