summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2013-09-18 19:47:24 +0200
committerSven Eden <yamakuzure@gmx.net>2013-09-18 19:47:24 +0200
commit36b801f881268661d78db3ec3b34d3f69f111281 (patch)
tree68d32cfa943e57412bac64cb516bab67815b05d2 /ufed-curses.c
parentRewrote drawFlag() and added some helper functions. The mess is consideratly ... (diff)
downloadufed-36b801f881268661d78db3ec3b34d3f69f111281.tar.gz
ufed-36b801f881268661d78db3ec3b34d3f69f111281.tar.bz2
ufed-36b801f881268661d78db3ec3b34d3f69f111281.zip
Added wrapped selection to status line
Diffstat (limited to 'ufed-curses.c')
-rw-r--r--ufed-curses.c5
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);
}