mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Fix pager output for spawn/list with a very long list. Resolve #1829
This commit is contained in:
parent
c520ef86c9
commit
05b859c0b7
2 changed files with 4 additions and 2 deletions
|
|
@ -2941,7 +2941,8 @@ class CmdSpawn(COMMAND_DEFAULT_CLASS):
|
|||
# import pudb; pudb.set_trace()
|
||||
|
||||
EvMore(caller, str(protlib.list_prototypes(caller,
|
||||
tags=self.lhslist)), exit_on_lastpage=True)
|
||||
tags=self.lhslist)), exit_on_lastpage=True,
|
||||
justify_kwargs=False)
|
||||
return
|
||||
|
||||
if 'save' in self.switches:
|
||||
|
|
|
|||
|
|
@ -137,7 +137,8 @@ class EvMore(object):
|
|||
to determine the screen width and will receive all output.
|
||||
justify_kwargs (dict, bool or None, optional): If given, this should
|
||||
be valid keyword arguments to the utils.justify() function. If False,
|
||||
no justification will be done.
|
||||
no justification will be done (especially important for handling
|
||||
fixed-width text content, like tables!).
|
||||
exit_on_lastpage (bool, optional): If reaching the last page without the
|
||||
page being completely filled, exit pager immediately. If unset,
|
||||
another move forward is required to exit. If set, the pager
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue