Changeset cedbe9d


Ignore:
Timestamp:
Nov 7, 2010, 7:22:04 PM (10 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
1522e5d
Parents:
13e2096
git-author:
David Benjamin <davidben@mit.edu> (11/07/10 14:56:06)
git-committer:
David Benjamin <davidben@mit.edu> (11/07/10 19:22:04)
Message:
Punt the ~s at the end of a popless text

They seem to confuse slightly more people than not, and no one seems to
care enough to justify adding yet another configuration variable.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • viewwin.c

    r4c0ac34 rcedbe9d  
    33
    44#define BOTTOM_OFFSET 1
    5 #define EMPTY_INDICATOR "~"
    65
    76static void owl_viewwin_redraw_content(owl_window *w, WINDOW *curswin, void *user_data);
     
    9796  owl_viewwin *v = user_data;
    9897  int winlines, wincols;
    99   int y;
    10098
    10199  owl_window_get_position(w, &winlines, &wincols, 0, 0);
     
    111109
    112110  owl_fmtext_curs_waddstr(&fm2, curswin);
    113 
    114   /* Fill remaining lines with tildes. */
    115   y = v->textlines - v->topline;
    116   wmove(curswin, y, 0);
    117   for (; y < winlines; y++) {
    118     waddstr(curswin, EMPTY_INDICATOR);
    119     waddstr(curswin, "\n");
    120   }
    121111
    122112  owl_fmtext_cleanup(&fm1);
Note: See TracChangeset for help on using the changeset viewer.