summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2013-08-16 16:38:04 +0200
committerJan Pokorný <jpokorny@redhat.com>2013-08-16 16:38:04 +0200
commit936087d382c7c0e2121cebcdd5b75ba0dd7273c7 (patch)
treef3aad06429437d9e5a9ace7d24b235a8493fc731
parent07058faf86314d06a194979a15f8f90cca16969e (diff)
downloadwatch-bz-936087d382c7c0e2121cebcdd5b75ba0dd7273c7.tar.gz
watch-bz-936087d382c7c0e2121cebcdd5b75ba0dd7273c7.tar.xz
watch-bz-936087d382c7c0e2121cebcdd5b75ba0dd7273c7.zip
Do not cut the last column on screen off
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
-rwxr-xr-xwatch-bz2
1 files changed, 1 insertions, 1 deletions
diff --git a/watch-bz b/watch-bz
index 7c40b8c..8ebb962 100755
--- a/watch-bz
+++ b/watch-bz
@@ -72,7 +72,7 @@ fi
# hardcoded for now (note the SEP - OUTPUT_FMT relationship)
SEP=@@@
-WIDTH=$(( $(stty size | cut -d' ' -f2) - 1 ))
+WIDTH=$(stty size | cut -d' ' -f2)
# options/arguments