summaryrefslogtreecommitdiff
path: root/alsamixer
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2005-01-31 13:46:05 +0000
committerTakashi Iwai <tiwai@suse.de>2005-01-31 13:46:05 +0000
commite188eaf0971f363d62a18ccef01ee055b8d2f4b0 (patch)
tree9e177435c36037e2b8c321e37cd8a88b482759b1 /alsamixer
parent6781eaa78c526b70b31efb6153ed6b0e97beee79 (diff)
downloadalsa-utils-e188eaf0971f363d62a18ccef01ee055b8d2f4b0.tar.gz
Show other view names
alsamixer shows all view names in the View: line so that user can understand what it means. The currently used view is shown with brackets and emphasized.
Diffstat (limited to 'alsamixer')
-rw-r--r--alsamixer/alsamixer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/alsamixer/alsamixer.c b/alsamixer/alsamixer.c
index cf7a3fe..9cc51c4 100644
--- a/alsamixer/alsamixer.c
+++ b/alsamixer/alsamixer.c
@@ -730,17 +730,17 @@ static void display_item_info(int elem_index, snd_mixer_selem_id_t *sid, int is_
if (xlen > sizeof(string) - 1)
xlen = sizeof(string) - 1;
mixer_dc (DC_PROMPT);
- mvaddstr (3, 2, "View: ");
+ mvaddstr (3, 2, "View: Playback Capture All ");
mixer_dc (DC_TEXT);
switch (mixer_view) {
case VIEW_PLAYBACK:
- mvaddstr (3, 8, "Playback");
+ mvaddstr (3, 8, "[Playback]");
break;
case VIEW_CAPTURE:
- mvaddstr (3, 8, "Capture");
+ mvaddstr (3, 18, "[Capture]");
break;
default:
- mvaddstr (3, 8, "All");
+ mvaddstr (3, 27, "[All]");
break;
}
mixer_dc (DC_PROMPT);