diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-04-15 22:05:08 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-04-15 22:05:08 -0400 |
commit | 6d214b44d9f150d82c84008fda8d4e4c2f4d18e9 (patch) | |
tree | 3658d403ed500300ade36a9dcd47a25853cb7aaf | |
parent | 3d9509f615fff8b4bdd6a79d2aa7e0b2bdb973ef (diff) | |
download | runes-6d214b44d9f150d82c84008fda8d4e4c2f4d18e9.tar.gz runes-6d214b44d9f150d82c84008fda8d4e4c2f4d18e9.zip |
comment
-rw-r--r-- | term.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -14,6 +14,9 @@ void runes_term_init(RunesTerm *t, int argc, char *argv[]) runes_window_backend_create_window(t, argc, argv); runes_display_set_window_size(t); + + /* have to initialize these here instead of in display_init because they + * depend on the window size being set */ t->scroll_top = 0; t->scroll_bottom = t->rows - 1; |