Add compact panels support
Add a configuration option that allows for switching to compact panel mode. In this mode, all window labels are hidden, so that there's more space for actual information. This patch doesn't add a configuration menu entry and doesn't add any documentation. Implements FR#7. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
@@ -332,7 +332,7 @@ void apoint_update_panel(int which_pan)
|
||||
{
|
||||
int title_xpos;
|
||||
int bordr = 1;
|
||||
int title_lines = 3;
|
||||
int title_lines = conf.compact_panels ? 1 : 3;
|
||||
int app_width = win[APP].w - bordr;
|
||||
int app_length = win[APP].h - bordr - title_lines;
|
||||
long date;
|
||||
|
||||
Reference in New Issue
Block a user