Revert "fix"

This reverts commit ed2454ea64.
This commit is contained in:
cuu
2023-01-24 14:47:42 +08:00
parent 4eefd21a8b
commit 6a360f5101
29 changed files with 104 additions and 80 deletions

View File

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