summaryrefslogtreecommitdiffstats
path: root/src/io.c
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2010-03-21 09:21:06 +0000
committerFrederic Culot <calcurse@culot.org>2010-03-21 09:21:06 +0000
commitcc77e839d86fda9871f5fde89350d51465ec208b (patch)
tree82711eb671a98bb525bba4365f19bbfe456b5455 /src/io.c
parentec36b968489111707e2b71f27f3c021571471b5e (diff)
downloadcalcurse-cc77e839d86fda9871f5fde89350d51465ec208b.tar.gz
calcurse-cc77e839d86fda9871f5fde89350d51465ec208b.zip
More work on sidebar customization.
Diffstat (limited to 'src/io.c')
-rwxr-xr-xsrc/io.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/io.c b/src/io.c
index 28b6bdb..79ca3c0 100755
--- a/src/io.c
+++ b/src/io.c
@@ -1,4 +1,4 @@
-/* $calcurse: io.c,v 1.81 2010/03/20 10:54:46 culot Exp $ */
+/* $calcurse: io.c,v 1.82 2010/03/21 09:21:07 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -887,6 +887,11 @@ io_save_conf (struct conf *conf)
(void)fprintf (fp, "\n# This is the layout of the calendar :\n");
(void)fprintf (fp, "layout=\n");
(void)fprintf (fp, "%d\n", wins_layout ());
+
+ (void)fprintf (fp, "\n# Width (in percentage, 0 being minimun width) "
+ "of the side bar :\n");
+ (void)fprintf (fp, "side-bar_width=\n");
+ (void)fprintf (fp, "%d\n", wins_sbar_wperc ());
if (ui_mode == UI_CURSES)
pthread_mutex_lock (&nbar.mutex);