Print the starship-style two-line prompt.
(in_shell=False)
| 39 | |
| 40 | |
| 41 | def prompt(in_shell=False): |
| 42 | """Print the starship-style two-line prompt.""" |
| 43 | if in_shell: |
| 44 | emit(f"{CYAN}~{RESET} {DIM}in{RESET} \U0001F4E6 {BLUE}devbox{RESET}\r\n", 0.5) |
| 45 | else: |
| 46 | emit(f"{CYAN}~{RESET}\r\n", 0.5) |
| 47 | emit(f"{GREEN}❯{RESET} ", 0.15) |
| 48 | |
| 49 | |
| 50 | def type_cmd(cmd): |