diff options
author | Samuel Mendoza-Jonas <sam.mj@au1.ibm.com> | 2015-09-09 09:03:52 +1000 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam.mj@au1.ibm.com> | 2015-09-10 15:49:27 +1000 |
commit | b6f99a457cb906277b172a0332a1e16ddba99228 (patch) | |
tree | 79a80822cace83a4a7dd80f2bd45c80a128ef962 /discover/udev.c | |
parent | 6c1a9dda927ec7404a55d4e11c3c9c47b4b52dce (diff) | |
download | talos-petitboot-b6f99a457cb906277b172a0332a1e16ddba99228.tar.gz talos-petitboot-b6f99a457cb906277b172a0332a1e16ddba99228.zip |
ui/ncurses: Allow text wrapping in select widgets
Several string translations used in select widgets are longer than the
maximum possible width of the widget. Rather than associating several
FIELDs with a select option, use a fold_text callback to pad out
substrings of the original string such that the ncurses O_WRAP option
properly wraps strings within the field.
Signed-off-by: Samuel Mendoza-Jonas <sam.mj@au1.ibm.com>
Diffstat (limited to 'discover/udev.c')
0 files changed, 0 insertions, 0 deletions