Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion cmd2/cmd2.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
argparse_utils,
constants,
plugin,
textual_toolbar,
utils,
)
from . import rich_utils as ru
Expand Down Expand Up @@ -843,7 +844,8 @@ def _create_main_session(
# Base configuration
kwargs: dict[str, Any] = {
"auto_suggest": AutoSuggestFromHistory() if auto_suggest else None,
"bottom_toolbar": self.get_bottom_toolbar if enable_bottom_toolbar else None,
# PROTOTYPE: inside a Textual host, the host draws the toolbar. See textual_toolbar.py.
"bottom_toolbar": self.get_bottom_toolbar if enable_bottom_toolbar and not textual_toolbar.is_hosted() else None,
"color_depth": pt_resolve_color_depth(),
"complete_style": CompleteStyle.MULTI_COLUMN,
"complete_in_thread": complete_in_thread,
Expand Down
Loading
Loading