textproc/p5-Text-VisualWidth-PP 0.05nb9 NetBSD
Trimming text by the number of the columns for terminals etc
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
618415630a- License
- gnu-gpl-v2 OR artistic
- Categories
- textproc, perl5
- Package size
- 6.1 KiB, 6.7 KiB installed
Description
This module provides functions to treat half-width and full-width characters and display correct size of text in one line on terminals and mobile phones. You can know the visual width of any text and truncate text by the visual width. Now this module support flagged UTF-8 and tested only with Japanese.
This module is pure perl version of Text::VisualWidth. This is bit slow, but it's not require compiler.
Install
Binary package:
pkgin install p5-Text-VisualWidth-PP
From pkgsrc:
cd /usr/pkgsrc/textproc/p5-Text-VisualWidth-PP && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.05nb9 |
| NetBSD 10.1 aarch64 | 0.05nb8 |
| SmartOS / illumos x86_64 | 0.05nb9 |
| macOS 15 arm64 | 0.05nb9 |