Changeset 9116936
- Timestamp:
- Sep 18, 2010, 5:07:39 PM (14 years ago)
- Branches:
- master, release-1.10, release-1.7, release-1.8, release-1.9
- Children:
- b8742ba
- Parents:
- fa23002
- git-author:
- David Benjamin <davidben@mit.edu> (08/01/10 15:03:24)
- git-committer:
- David Benjamin <davidben@mit.edu> (09/18/10 17:07:39)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
viewwin.c
rfa23002 r9116936 3 3 4 4 #define BOTTOM_OFFSET 1 5 #define EMPTY_INDICATOR "~" 5 6 6 7 static void owl_viewwin_redraw(owl_window *w, WINDOW *curswin, void *user_data); … … 88 89 owl_viewwin *v = user_data; 89 90 int winlines, wincols; 91 int y; 90 92 91 93 owl_window_get_position(w, &winlines, &wincols, 0, 0); … … 101 103 102 104 owl_fmtext_curs_waddstr(&fm2, curswin); 105 106 /* Fill remaining lines with tildes. */ 107 y = v->textlines - v->topline; 108 wmove(curswin, y, 0); 109 for (; y < winlines-BOTTOM_OFFSET; y++) { 110 waddstr(curswin, EMPTY_INDICATOR); 111 waddstr(curswin, "\n"); 112 } 103 113 104 114 /* print the message at the bottom */
Note: See TracChangeset
for help on using the changeset viewer.