* Print prints the content prefixed and suffixed with a carriage return. This should be used if raw terminal is enabled, but it works without it aswell */
(v ...any)
| 164 | This should be used if raw terminal is enabled, but it works without it aswell |
| 165 | */ |
| 166 | func Print(v ...any) (i int, err error) { |
| 167 | if i0, err := fmt.Print("\r"); err != nil { |
| 168 | return i0, err |
| 169 | } else { |
| 170 | i += i0 |
| 171 | } |
| 172 | |
| 173 | i0, err := fmt.Print(v...) |
| 174 | return i + i0, err |
| 175 | } |
| 176 | |
| 177 | /* |
| 178 | Printf prints the content formatted, and prefixed and suffixed with a carriage return. |
nothing calls this directly
no outgoing calls
no test coverage detected