Changeset 50970e1
- Timestamp:
- Mar 26, 2011, 4:37:52 AM (14 years ago)
- Children:
- 88e7b2e
- Parents:
- 1a30f05
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sepbar.c
r044f19f r50970e1 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.