From 6a91a5a72474b213bdba834175c665b963e12f5a Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 5 Nov 2014 01:33:29 +0100 Subject: [PATCH] installer: Show better helpline in unattended mode --- src/installer/main.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/installer/main.c b/src/installer/main.c index 9262a400c7..4dd561ddbc 100644 --- a/src/installer/main.c +++ b/src/installer/main.c @@ -412,7 +412,13 @@ int main(int argc, char *argv[]) { setlocale(LC_ALL, language); } - char* helpline = center_string(_("/ between elements | selects | next screen"), screen_cols); + // Set helpline + char* helpline = NULL; + if (config.unattended) + helpline = center_string(_("Unattended mode"), screen_cols); + else + helpline = center_string(_("/ between elements | selects | next screen"), screen_cols); + newtPushHelpLine(helpline); if (!config.unattended) { -- 2.39.2