Fixed bug with overlapping loaders.

This commit is contained in:
Michael Lazar
2015-03-07 23:04:18 -08:00
parent 7064f4ee21
commit b6f5b7e759
2 changed files with 10 additions and 12 deletions

View File

@@ -216,7 +216,7 @@ class LoadScreen(object):
message_len = len(message) + len(trail)
n_rows, n_cols = self._stdscr.getmaxyx()
s_row = (n_rows - 2) // 2
s_row = (n_rows - 3) // 2
s_col = (n_cols - message_len - 1) // 2
window = self._stdscr.derwin(3, message_len+2, s_row, s_col)