(currentPath string)
| 435 | } |
| 436 | |
| 437 | func promptForPath(currentPath string) string { |
| 438 | if currentPath == "/" { |
| 439 | return "pikpak / > " |
| 440 | } |
| 441 | return fmt.Sprintf("pikpak %s/ > ", currentPath) |
| 442 | } |
| 443 | |
| 444 | func clearScreen(w io.Writer) { |
| 445 | fmt.Fprint(w, clearScreenSequence) |