| c33a4315 | 10-Mar-2024 |
Masahiro Yamada <[email protected]> |
kconfig: lxdialog: remove unused dialog colors
Remove inputbox_order, searchbox, searchbox_title, searchbox_border because they are initialized, but not used anywhere.
Signed-off-by: Masahiro Yamad
kconfig: lxdialog: remove unused dialog colors
Remove inputbox_order, searchbox, searchbox_title, searchbox_border because they are initialized, but not used anywhere.
Signed-off-by: Masahiro Yamada <[email protected]>
show more ...
|
| be8af2d5 | 14-Sep-2014 |
Bjørn Forsman <[email protected]> |
kconfig/lxdialog: get ncurses CFLAGS with pkg-config
This makes "make menuconfig" also work on systems where ncurses is not installed in a standard location (such as on NixOS).
This patch changes c
kconfig/lxdialog: get ncurses CFLAGS with pkg-config
This makes "make menuconfig" also work on systems where ncurses is not installed in a standard location (such as on NixOS).
This patch changes ccflags() so that it tries pkg-config first, and only if pkg-config fails does it go back to the fallback/manual checks. This is the same algorithm that ldflags() already uses.
Signed-off-by: Bjørn Forsman <[email protected]> Signed-off-by: Michal Marek <[email protected]>
show more ...
|
| 4f2de3e1 | 12-May-2013 |
Dirk Gouders <[email protected]> |
mconf: use function calls instead of ncurses' variables LINES and COLS
According to the documentation [1], LINES and COLS are initialized by initscr(); it does not say anything about the behavior wh
mconf: use function calls instead of ncurses' variables LINES and COLS
According to the documentation [1], LINES and COLS are initialized by initscr(); it does not say anything about the behavior when windows are resized.
Do not rely on the current implementation of ncurses that updates these variables on resize, but use the propper function calls to get window dimensions.
init_dialog() could make use of the variables, but for the sake of consistency we do not change it's current use of the macro getmaxyx().
[1] ncurses(3X)
Signed-off-by: Dirk Gouders <[email protected]> Tested-by: "Yann E. MORIN" <[email protected]> Reviewed-by: "Yann E. MORIN" <[email protected]> Signed-off-by: Yann E. MORIN <[email protected]>
show more ...
|
| 13763916 | 08-May-2013 |
Dirk Gouders <[email protected]> |
kconfig/lxdialog: handle newline characters in print_autowrap()
When exiting menuconfig with unsaved changes, a dialog like the following is shown:
Do you wish to save your new configuratio
kconfig/lxdialog: handle newline characters in print_autowrap()
When exiting menuconfig with unsaved changes, a dialog like the following is shown:
Do you wish to save your new configuration ? <ESC><ESC> to continue.
The author of the dialog text specified a newline after the '?', and probably expected it to be processed, so let print_autowrap() handle newlines propperly.
Also, reword that dialog's second phrase with a real sentence.
Signed-off-by: Dirk Gouders <[email protected]> Tested-by: "Yann E. MORIN" <[email protected]> Reviewed-by: "Yann E. MORIN" <[email protected]> [[email protected]: very slightly tweak the commit message] Signed-off-by: Yann E. MORIN <[email protected]>
show more ...
|