diff options
| author | Jonas Bernoulli | 2022-08-04 14:05:08 +0200 |
|---|---|---|
| committer | Jonas Bernoulli | 2022-08-04 14:05:08 +0200 |
| commit | 254d6fdc2b3c993b599fc3ca29cda14bc6c0a5fb (patch) | |
| tree | fbefafd9ecc03a447698985fe9f45b0dd3aae375 /java/org | |
| parent | 16c992f80fa6394b4dc5166e6c14129ec4946e12 (diff) | |
| download | emacs-254d6fdc2b3c993b599fc3ca29cda14bc6c0a5fb.tar.gz emacs-254d6fdc2b3c993b599fc3ca29cda14bc6c0a5fb.zip | |
Don't pad beyond maximal width
The old implementation behaved as if the "description" is the only
information that is being displayed, however in actuality the
available width has to be shared with the key (and the separator
between the two).
Failing to take that into account meant that every binding whose
description isn't *by itself* wider than the width available to
display all the information got excessive padding, which later has to
be removed during truncation again (resulting in misleading ellipses).
Diffstat (limited to 'java/org')
0 files changed, 0 insertions, 0 deletions