From a474ef4c38bcf8b6ea61a37ffe22494133633e7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Mon, 23 Jun 2008 19:38:24 +0000 Subject: [PATCH] Seems the atari VT52 emulation doesn't wrap lines, so really send a LF before clearing the 2nd help line. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26108 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/boot/platform/generic/text_menu.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/system/boot/platform/generic/text_menu.cpp b/src/system/boot/platform/generic/text_menu.cpp index 466ca11fc0..e8bee14df8 100644 --- a/src/system/boot/platform/generic/text_menu.cpp +++ b/src/system/boot/platform/generic/text_menu.cpp @@ -133,7 +133,10 @@ print_item_at(int32 line, MenuItem *item, bool clearHelp = true) if (clearHelp) { // clear help text area - for (int32 i = 0; i < console_width() * 2 - 1; i++) + for (int32 i = 0; i < console_width() - 1; i++) + putchar(' '); + putchar('\n'); + for (int32 i = 0; i < console_width() - 1; i++) putchar(' '); console_set_cursor(0, console_height() - kHelpLines);