summaryrefslogtreecommitdiff
path: root/examples_library/timebox.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples_library/timebox.c')
-rw-r--r--examples_library/timebox.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples_library/timebox.c b/examples_library/timebox.c
index 6e3721ea9188..0e27f824af11 100644
--- a/examples_library/timebox.c
+++ b/examples_library/timebox.c
@@ -8,12 +8,11 @@
* <http://creativecommons.org/publicdomain/zero/1.0/>.
*/
+#include <bsddialog.h>
#include <stdio.h>
#include <string.h>
#include <time.h>
-#include <bsddialog.h>
-
int main()
{
int output;
@@ -35,8 +34,9 @@ int main()
bsddialog_initconf(&conf);
conf.title = "timebox";
- conf.bottomtitle = "Press TAB and arrows";
- output = bsddialog_timebox(&conf, "Example", 10, 50, &hh, &mm, &ss);
+ output = bsddialog_timebox(&conf,
+ "TAB / RIGHT / LEFT to move,\nUP / DOWN to select time", 10, 35,
+ &hh, &mm, &ss);
bsddialog_end();