aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2009-08-22 17:08:55 +0000
committerUlrich Müller <ulm@gentoo.org>2009-08-22 17:08:55 +0000
commit0003d49784b021363295a00ca5711b8b40aeed8b (patch)
treeea2b031ae08deeef246b9a5928a923d4e5b3b6e3 /modules/news.eselect
parentUpdate copyright years. (diff)
downloadeselect-0003d49784b021363295a00ca5711b8b40aeed8b.tar.gz
eselect-0003d49784b021363295a00ca5711b8b40aeed8b.tar.bz2
eselect-0003d49784b021363295a00ca5711b8b40aeed8b.zip
Output read/unread tag first.
svn path=/trunk/; revision=636
Diffstat (limited to 'modules/news.eselect')
-rw-r--r--modules/news.eselect4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/news.eselect b/modules/news.eselect
index 4ca1509..f115025 100644
--- a/modules/news.eselect
+++ b/modules/news.eselect
@@ -188,10 +188,10 @@ do_list() {
IFS=${ifs_save}
if [[ ${stat} = unread ]]; then
write_numbered_list_entry $((i++)) "$(highlight \
- "${posted}$(space $((12 - ${#posted})))(unread) ${title}")"
+ "unread ${posted}$(space $((12 - ${#posted})))${title}")"
else
write_numbered_list_entry $((i++)) \
- "${posted}$(space $((12 - ${#posted})))(read) ${title}"
+ "read ${posted}$(space $((12 - ${#posted})))${title}"
fi
done
[[ $# -eq 0 && ${ESELECT_OUTPUT_MODE} != brief ]] \