Module Name:    src
Committed By:   nia
Date:           Thu Jul 15 06:57:11 UTC 2021

Modified Files:
        src/usr.bin/aiomixer: main.c

Log Message:
aiomixer: Clear screen after device selection


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.bin/aiomixer/main.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/aiomixer/main.c
diff -u src/usr.bin/aiomixer/main.c:1.2 src/usr.bin/aiomixer/main.c:1.3
--- src/usr.bin/aiomixer/main.c:1.2	Sun May  9 15:40:27 2021
+++ src/usr.bin/aiomixer/main.c	Thu Jul 15 06:57:10 2021
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.2 2021/05/09 15:40:27 christos Exp $ */
+/* $NetBSD: main.c,v 1.3 2021/07/15 06:57:10 nia Exp $ */
 /*-
  * Copyright (c) 2021 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -405,6 +405,7 @@ process_device_select(struct aiomixer *a
 	while ((ch = getch()) != ERR) {
 		switch (ch) {
 		case '\n':
+			clear();
 			(void)snprintf(device_path, sizeof(device_path),
 			    "/dev/mixer%d", selected_device);
 			open_device(aio, device_path);

Reply via email to