v0.8.0 wasm client added, cli client and makefile updated
This commit is contained in:
13
cmd/chess-client-cli/exit_native.go
Normal file
13
cmd/chess-client-cli/exit_native.go
Normal file
@ -0,0 +1,13 @@
|
||||
// FILE: lixenwraith/chess/cmd/chess-client-cli/exit_native.go
|
||||
//go:build !js && !wasm
|
||||
|
||||
package main
|
||||
|
||||
import (
|
||||
"chess/internal/client/display"
|
||||
)
|
||||
|
||||
func handleExit() (restart bool) {
|
||||
display.Println(display.Cyan, "Goodbye!")
|
||||
return false
|
||||
}
|
||||
Reference in New Issue
Block a user