diff options
author | Lukas Fleischer <lfleischer@calcurse.org> | 2016-02-25 21:48:39 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2016-02-26 09:14:40 +0100 |
commit | c34f9aba29b965bf1da7e16da91ebf94ae123e89 (patch) | |
tree | 84fbe45575d63ca93df3f3631af55deb867b5350 /scripts/calcurse-upgrade | |
parent | 85772d746f7b1123b94ce9556273b4a9df77eeaf (diff) | |
download | calcurse-c34f9aba29b965bf1da7e16da91ebf94ae123e89.tar.gz calcurse-c34f9aba29b965bf1da7e16da91ebf94ae123e89.zip |
Refactor UTF-8 chopping
Add a function that makes sure a string does not exceed a given display
size. If the string is too long, dots ("...") are appended.
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'scripts/calcurse-upgrade')
0 files changed, 0 insertions, 0 deletions