- Timestamp:
- May 30, 2011, 7:43:13 PM (14 years ago)
- Branches:
- master, release-1.10, release-1.8, release-1.9
- Children:
- 8ffa264
- Parents:
- 6476c0e
- git-author:
- Jason Gross <jgross@mit.edu> (03/26/11 04:37:52)
- git-committer:
- Anders Kaseorg <andersk@mit.edu> (05/30/11 19:43:13)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sepbar.c
r044f19f r6eb3ed9 16 16 int x, y, i; 17 17 const char *foo, *appendtosepbar; 18 int cur_numlines, cur_totallines; 18 19 19 20 ml=owl_global_get_msglist(&g); … … 50 51 wattron(sepwin, A_REVERSE); 51 52 52 if (owl_mainwin_is_curmsg_truncated(owl_global_get_mainwin(&g))) {53 getyx(sepwin, y, x);54 wmove(sepwin, y, x+2);55 wattron(sepwin, A_BOLD);56 waddstr(sepwin, " <truncated> ");57 wattroff(sepwin, A_BOLD);58 }59 60 53 i=owl_mainwin_get_last_msg(owl_global_get_mainwin(&g)); 61 54 if ((i != -1) && … … 90 83 } 91 84 85 if (owl_mainwin_is_curmsg_truncated(owl_global_get_mainwin(&g))) { 86 getyx(sepwin, y, x); 87 wmove(sepwin, y, x+2); 88 wattron(sepwin, A_BOLD); 89 cur_numlines = owl_global_get_curmsg_vert_offset(&g) + 1; 90 cur_totallines = owl_message_get_numlines(owl_view_get_element(v, owl_global_get_curmsg(&g))); 91 wprintw(sepwin, " <truncated: %d/%d> ", cur_numlines, cur_totallines); 92 wattroff(sepwin, A_BOLD); 93 } 94 92 95 if (owl_global_get_curmsg_vert_offset(&g)) { 93 96 getyx(sepwin, y, x);
Note: See TracChangeset
for help on using the changeset viewer.