Rearrange example scripts and tools
This commit is contained in:
parent
7ce7bbc4df
commit
4882b61d5d
@ -1,20 +0,0 @@
|
||||
package main
|
||||
|
||||
import "github.com/c-bata/go-prompt"
|
||||
|
||||
func main() {
|
||||
l := 20
|
||||
out := prompt.NewStandardOutputWriter()
|
||||
out.EraseScreen()
|
||||
for i := 0; i < l; i++ {
|
||||
out.CursorGoTo(i, 0)
|
||||
out.WriteStr("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX")
|
||||
}
|
||||
|
||||
out.CursorGoTo(5, 10)
|
||||
out.EraseLine()
|
||||
|
||||
out.CursorGoTo(l, 0)
|
||||
out.Flush()
|
||||
return
|
||||
}
|
Loading…
Reference in New Issue
Block a user