From: Samuel Mendoza-Jonas Date: Tue, 8 Sep 2015 23:03:52 +0000 (+1000) Subject: ui/ncurses: Allow text wrapping in select widgets X-Git-Tag: v1.0.0~51 X-Git-Url: https://git.ozlabs.org/?a=commitdiff_plain;h=b6f99a457cb906277b172a0332a1e16ddba99228;hp=b6f99a457cb906277b172a0332a1e16ddba99228;p=petitboot 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 ---