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/afce479be7fc
branches:  trunk
changeset: 1022379:afce479be7fc
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 8597081a9f98 -r afce479be7fc 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