From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9E06E1381F3 for ; Fri, 20 Sep 2013 08:30:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E2997E0B18; Fri, 20 Sep 2013 08:30:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4B16EE0B19 for ; Fri, 20 Sep 2013 08:30:42 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 42FFF33EBD2 for ; Fri, 20 Sep 2013 08:30:41 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 4CD6EE5466 for ; Fri, 20 Sep 2013 08:30:39 +0000 (UTC) From: "Sven Eden" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Eden" Message-ID: <1379526444.36b801f881268661d78db3ec3b34d3f69f111281.yamakuzure@gentoo> Subject: [gentoo-commits] proj/ufed:master commit in: / X-VCS-Repository: proj/ufed X-VCS-Files: ufed-curses.c X-VCS-Directories: / X-VCS-Committer: yamakuzure X-VCS-Committer-Name: Sven Eden X-VCS-Revision: 36b801f881268661d78db3ec3b34d3f69f111281 X-VCS-Branch: master Date: Fri, 20 Sep 2013 08:30:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d4d76d7a-477d-461e-a54b-f1e7992973e6 X-Archives-Hash: abfd5b6994a05490601c172f975ba3f7 commit: 36b801f881268661d78db3ec3b34d3f69f111281 Author: Sven Eden gmx net> AuthorDate: Wed Sep 18 17:47:24 2013 +0000 Commit: Sven Eden gmx de> CommitDate: Wed Sep 18 17:47:24 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/ufed.git;a=commit;h=36b801f8 Added wrapped selection to status line --- ufed-curses.c | 5 +++-- 1 file 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); }