summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortautologyclub <31303355+tautologyclub@users.noreply.github.com>2019-07-11 06:55:22 +0200
committerGitHub <noreply@github.com>2019-07-11 06:55:22 +0200
commita7358263e00e97e5b3e2f06f43c6167bd18a41b8 (patch)
tree0dc4bc364f266a0545a08b3f82b2e33f7fccb274
parentd1df599254f4c250720ae98dd69dada89535a295 (diff)
parentc59f367b6fe544beb29ba0318ab7954a897c7e93 (diff)
Merge pull request #42 from ether42/master
Fix right alignment
-rw-r--r--feebleline.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/feebleline.el b/feebleline.el
index 6fbdebd..a4df480 100644
--- a/feebleline.el
+++ b/feebleline.el
@@ -205,7 +205,7 @@ Returns a pair with desired column and string."
(message-truncate-lines t)
(max-mini-window-height 1)
(right-string (string-join (reverse right)))
- (free-space (- (window-width) (length left-string) (length right-string)))
+ (free-space (- (frame-width) (length left-string) (length right-string)))
(padding (make-string (max 0 free-space) ?\ )))
(insert (concat left-string (if right-string (concat padding right-string)))))))))