summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: de0277c)
raw | patch | inline | side by side (parent: de0277c)
author | Kalle Wallin <kaw@linux.se> | |
Fri, 26 Mar 2004 12:32:29 +0000 (12:32 +0000) | ||
committer | Kalle Wallin <kaw@linux.se> | |
Fri, 26 Mar 2004 12:32:29 +0000 (12:32 +0000) |
screen.c | patch | blob | history |
diff --git a/screen.c b/screen.c
index 86269512527dc1ec8a5a37010e56e220d0917619..8a885f3f7174d9a7d6127fb04c707e1385341831 100644 (file)
--- a/screen.c
+++ b/screen.c
if( options.enable_colors )
wattron(w, LINE_COLORS);
-
mvwhline(w, 1, 0, ACS_HLINE, screen->top_window.cols);
-
if( options.enable_colors )
wattroff(w, LINE_COLORS);
screen_init(void)
{
/* initialize the curses library */
- initscr();
+ initscr();
start_color();
if( options.enable_colors )
{
screen_status_printf("Volume %d%%", c->status->volume);
}
break;
+ case CMD_TOGGLE_FIND_WRAP:
+ options.find_wrap = !options.find_wrap;
+ screen_status_printf("Find mode: %s",
+ options.find_wrap ? "Wrapped" : "Normal");
+ break;
case CMD_SCREEN_PREVIOUS:
if( screen->mode > SCREEN_PLAY_WINDOW )
new_mode = screen->mode - 1;
break;
case CMD_QUIT:
exit(EXIT_SUCCESS);
- case CMD_LIST_FIND:
- case CMD_LIST_FIND_NEXT:
- case CMD_NONE:
- case CMD_DELETE:
- case CMD_SELECT:
- case CMD_LIST_PREVIOUS:
- case CMD_LIST_NEXT:
- case CMD_LIST_FIRST:
- case CMD_LIST_LAST:
- case CMD_LIST_NEXT_PAGE:
- case CMD_LIST_PREVIOUS_PAGE:
+ default:
break;
}
}
-;
+