mirror of
https://github.com/bdnugget/eggos.git
synced 2026-11-07 04:17:27 +00:00
fix console input
This commit is contained in:
1 parent
f76da0e0e4
commit
afe5e8663a
3 files changed
+5
-1
No files matched your search
@@ -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
@@ -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"
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@ import (
|
||||
)
|
||||
|
||||
func TestNetworking(t *testing.T) {
|
||||
t.Skip()
|
||||
wg := sync.WaitGroup{}
|
||||
wg.Add(1)
|
||||
|
||||
|
||||
Reference in new issue
Block a user