Return codes¶
Pager.run() returns a string that informs you about how Pager object ended. You can use that information if your project needs.
Codes:¶
| Code | Description |
|---|---|
| "ok" | User quit through available commands. |
| "keyboard_interrupt" | User pressed ctrl+c |
| "curses_error" | User exited after a curses error occured |
| "error" | User exited after a error other than listed above. |