mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-12 01:53:58 +03:00
b9a45ff5fe
git-svn-id: svn://kolibrios.org@7858 a494cfbc-eb01-0410-851d-a64ba20cac60
20 lines
227 B
Go
20 lines
227 B
Go
package kernel
|
|
import "os"
|
|
|
|
|
|
func Load() {
|
|
x := "test"
|
|
for true {
|
|
switch os.Event() {
|
|
|
|
case 1:
|
|
os.Redraw(1)
|
|
os.Window(50,250,450,200,x)
|
|
os.Redraw(2)
|
|
os.Sleep(100)
|
|
case 3:
|
|
os.Exit()
|
|
}
|
|
}
|
|
}
|