Commit 31ca75e9 authored by Youness Alaoui's avatar Youness Alaoui
Browse files

Small adjustements

parent bbbd019c
......@@ -367,6 +367,7 @@ create_text_suface (Menu *menu, char *text)
if (*ptr2++ == '\n')
lines++;
}
*ptr2 = '\0';
/* Last line */
lines++;
......
......@@ -81,7 +81,7 @@ typedef struct {
} whiptail_args;
#define STANDARD_MENU_ITEM_WIDTH (500)
#define STANDARD_MENU_ITEM_WIDTH (800)
#define STANDARD_MENU_ITEM_HEIGHT 60
#define STANDARD_MENU_PAD_X 10
#define STANDARD_MENU_PAD_Y 3
......
#!/bin/sh
fbwhiptail --background-gradient 20 20 20 100 100 100 "$@"
fbwhiptail --background-gradient 0 0 0 150 150 150 "$@"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment