diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-04-23 18:43:46 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-04-23 18:43:46 -0400 |
commit | b50c050613d488d507d6d4c8ff4b865db476d384 (patch) | |
tree | ef50780ce43609039525c5edd82118e435b79660 /src/term.c | |
parent | ac67dce7914c6002e66bb6d977fb31513bcc68f1 (diff) | |
download | runes-b50c050613d488d507d6d4c8ff4b865db476d384.tar.gz runes-b50c050613d488d507d6d4c8ff4b865db476d384.zip |
reset the scroll region whenever the window is resized
seems like this is what other terminals do
Diffstat (limited to 'src/term.c')
-rw-r--r-- | src/term.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -12,11 +12,6 @@ void runes_term_init(RunesTerm *t, int argc, char *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; - t->loop = uv_default_loop(); runes_window_backend_start_loop(t); runes_pty_backend_start_loop(t); |