fix console input

This commit is contained in:
icexin committed 2021-07-30 01:22:18 +08:00
1 parent f76da0e0e4
commit afe5e8663a
3 files changed
+5 -1

No files matched your search

+3
View File
@@ -181,6 +181,9 @@ func Console() io.ReadWriter {
}
func Init() {
cononce.Do(func() {
con = newConsole()
})
uart.OnInput(con.intr)
kbd.OnInput(con.intr)
}
+1 -1
View File
@@ -3,7 +3,7 @@ package main
import (
_ "github.com/icexin/eggos/app/cmd"
// _ "github.com/icexin/eggos/app/gin"
// _ "github.com/icexin/eggos/app/httpd"
_ "github.com/icexin/eggos/app/httpd"
_ "github.com/icexin/eggos/app/js"
_ "github.com/icexin/eggos/app/phy"
+1
View File
@@ -10,6 +10,7 @@ import (
)
func TestNetworking(t *testing.T) {
t.Skip()
wg := sync.WaitGroup{}
wg.Add(1)