Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sepbar.c

    r6eb3ed9 r044f19f  
    1616  int x, y, i;
    1717  const char *foo, *appendtosepbar;
    18   int cur_numlines, cur_totallines;
    1918
    2019  ml=owl_global_get_msglist(&g);
     
    5150      wattron(sepwin, A_REVERSE);
    5251
     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
    5360  i=owl_mainwin_get_last_msg(owl_global_get_mainwin(&g));
    5461  if ((i != -1) &&
     
    8390  }
    8491
    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 
    9592  if (owl_global_get_curmsg_vert_offset(&g)) {
    9693    getyx(sepwin, y, x);
Note: See TracChangeset for help on using the changeset viewer.