GenericStop runs Stop, but returns a LivePrinter. This is used for the interface LivePrinter. You most likely want to use Stop instead of this in your program.
()
| 126 | // This is used for the interface LivePrinter. |
| 127 | // You most likely want to use Stop instead of this in your program. |
| 128 | func (p *AreaPrinter) GenericStop() (*LivePrinter, error) { |
| 129 | _ = p.Stop() |
| 130 | lp := LivePrinter(p) |
| 131 | return &lp, nil |
| 132 | } |
| 133 | |
| 134 | // Clear is a Wrapper function that clears the content of the Area |
| 135 | // moves the cursor to the bottom of the terminal, clears n lines upwards from |
nothing calls this directly
no test coverage detected