Browse Source
Previously, calls to add_line in add_command_formatting of default help commands would fail if the command's help message would overflow the current page. This would also result in silent failure as the RuntimeError raised from add_line is never caught. This patch adds behavior that adds lines individually should it raise, which guarantees safe pagination as long as every line is smaller than the maximum page size, which is highly unlikely.pull/1993/head
committed by
Danny
1 changed files with 12 additions and 2 deletions
Loading…
Reference in new issue