Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/aiomixer aiomixer: Clear screen after device selection



details:   https://anonhg.NetBSD.org/src/rev/9af4ec0141c7
branches:  trunk
changeset: 984650:9af4ec0141c7
user:      nia <nia%NetBSD.org@localhost>
date:      Thu Jul 15 06:57:10 2021 +0000

description:
aiomixer: Clear screen after device selection

diffstat:

 usr.bin/aiomixer/main.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 308512c7a4c9 -r 9af4ec0141c7 usr.bin/aiomixer/main.c
--- a/usr.bin/aiomixer/main.c   Thu Jul 15 05:07:50 2021 +0000
+++ b/usr.bin/aiomixer/main.c   Thu Jul 15 06:57:10 2021 +0000
@@ -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 @@
        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);



Home | Main Index | Thread Index | Old Index