diff options
author | Wojciech Siewierski <wojciech.siewierski@onet.pl> | 2019-10-01 21:45:11 +0200 |
---|---|---|
committer | Wojciech Siewierski <wojciech.siewierski@onet.pl> | 2019-10-01 21:48:26 +0200 |
commit | 83b464312d02beb49743fa45ccd5380ebcdd02f9 (patch) | |
tree | 9567aef7af7851a9e15f3bb5001ddb0e4af898c3 /ranger | |
parent | bb2b2e887b1cba76a0b55a0fef99f28ddd39ea95 (diff) | |
download | ranger-83b464312d02beb49743fa45ccd5380ebcdd02f9.tar.gz |
gui.widgets.statusbar: Truncate the VCS commit message
Fixes #1704.
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/gui/widgets/statusbar.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/gui/widgets/statusbar.py b/ranger/gui/widgets/statusbar.py index 71064ed4..c735b8f8 100644 --- a/ranger/gui/widgets/statusbar.py +++ b/ranger/gui/widgets/statusbar.py @@ -212,7 +212,7 @@ class StatusBar(Widget): # pylint: disable=too-many-instance-attributes left.add_space() left.add(directory.vcs.rootvcs.head['date'].strftime(self.timeformat), 'vcsdate') left.add_space() - left.add(directory.vcs.rootvcs.head['summary'], 'vcscommit') + left.add(directory.vcs.rootvcs.head['summary'][:70], 'vcscommit') def _get_owner(self, target): uid = target.stat.st_uid |