diff options
author | 2013-09-18 19:47:24 +0200 | |
---|---|---|
committer | 2013-09-18 19:47:24 +0200 | |
commit | 36b801f881268661d78db3ec3b34d3f69f111281 (patch) | |
tree | 68d32cfa943e57412bac64cb516bab67815b05d2 | |
parent | Rewrote drawFlag() and added some helper functions. The mess is consideratly ... (diff) | |
download | ufed-36b801f881268661d78db3ec3b34d3f69f111281.tar.gz ufed-36b801f881268661d78db3ec3b34d3f69f111281.tar.bz2 ufed-36b801f881268661d78db3ec3b34d3f69f111281.zip |
Added wrapped selection to status line
-rw-r--r-- | ufed-curses.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ufed-curses.c b/ufed-curses.c index 70a0ac7..f6b2531 100644 --- a/ufed-curses.c +++ b/ufed-curses.c @@ -337,7 +337,7 @@ void drawStatus(bool withSep) * + 2 brackets = 22 * + 4 pipes = 26 */ - sprintf(buf, "%*s%-4s|%-4s|%-4s|%-4s|%-4s] ", + sprintf(buf, "%*s%-4s|%-4s|%-4s|%-4s|%-4s|%-4s] ", max(2, iWidth - 33 - minwidth), " [", eScope_global == e_scope ? "glob" : eScope_local == e_scope ? "loca" : "all", @@ -346,7 +346,8 @@ void drawStatus(bool withSep) eMask_masked == e_mask ? "mask" : eMask_unmasked == e_mask ? "norm" : "all", eOrder_left == e_order ? "left" : "righ", - eDesc_ori == e_desc ? "orig" : "stri"); + eDesc_ori == e_desc ? "orig" : "stri", + eWrap_normal == e_wrap ? "long" : "wrap"); waddstr(w, buf); } |