This commit is contained in:
cuu
2023-01-24 04:24:07 +00:00
parent 7814f9ca6f
commit ed2454ea64
29 changed files with 80 additions and 104 deletions

View File

@@ -128,10 +128,15 @@ func ReplaceSuffix(orig_file_str string, new_ext string) string {
return orig_file_str // failed just return back where it came
}
func SwapAndShow() {
func DisplayFlip() {
display.Flip()
}
func AsyncDisplayFlip() {
display.ASync(func() {
display.Flip()
})
}
func ReadLines(path string) (lines []string, err error) {
var (
file *os.File