* [gentoo-commits] eselect r497 - in trunk: . libs
@ 2009-04-23 6:30 Ulrich Mueller (ulm)
0 siblings, 0 replies; only message in thread
From: Ulrich Mueller (ulm) @ 2009-04-23 6:30 UTC (permalink / raw
To: gentoo-commits
Author: ulm
Date: 2009-04-23 06:30:15 +0000 (Thu, 23 Apr 2009)
New Revision: 497
Modified:
trunk/ChangeLog
trunk/libs/output.bash.in
Log:
Default to a width of 80 characters, not 79.
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2009-04-22 22:51:37 UTC (rev 496)
+++ trunk/ChangeLog 2009-04-23 06:30:15 UTC (rev 497)
@@ -1,5 +1,8 @@
2009-04-23 Ulrich Mueller <ulm@gentoo.org>
+ * libs/output.bash.in (get_column_width): Default to a width of
+ 80 characters, not 79.
+
* modules/modules.eselect (do_list): Assign the name of the module
to ESELECT_MODULE_NAME, bug 220116.
Modified: trunk/libs/output.bash.in
===================================================================
--- trunk/libs/output.bash.in 2009-04-22 22:51:37 UTC (rev 496)
+++ trunk/libs/output.bash.in 2009-04-23 06:30:15 UTC (rev 497)
@@ -190,10 +190,10 @@
# Get current column width
get_column_width() {
if [[ -z "${COLS}" ]] ; then
- COLS=79
+ COLS=80
if [[ -t 1 ]] ; then
- COLS=( $(stty size 2>/dev/null) )
- is_number "${COLS[1]}" && COLS=${COLS[1]} || COLS=79
+ local size=( $(stty size 2>/dev/null) )
+ is_number "${size[1]}" && COLS=${size[1]}
fi
fi
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-04-23 6:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-23 6:30 [gentoo-commits] eselect r497 - in trunk: . libs Ulrich Mueller (ulm)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox