Skip to content

Conversation

@calm329
Copy link
Contributor

@calm329 calm329 commented Dec 23, 2025

Summary

This PR fixes the live display formatting issues on macOS's stock Terminal.app for the subnets list --live and stake list --live commands.

Problem

The --live flag for btcli subnets list and btcli stake list commands uses Rich's Live component with screen=True, which enables alternate screen buffer mode. However, macOS's native Terminal.app has known compatibility issues with alternate screen buffer rendering, causing visual corruption and misaligned output.

More capable terminals like iTerm2 handle this correctly, but users on the stock Terminal.app experience broken formatting.

Changes

File: bittensor_cli/src/commands/subnets/subnets.py

  1. Removed screen=True parameter from the Live context manager
    • The live display now renders inline instead of using alternate screen buffer

File: bittensor_cli/src/commands/stake/list.py

  1. Removed screen=True parameter from the Live context manager
    • Consistent fix applied to stake list live mode

Before & After

Before (macOS Terminal.app):
image

After (macOS Terminal.app):
image

Fixes #315


Contribution by Gittensor, learn more at https://gittensor.io/

@ibraheem-abe ibraheem-abe merged commit b0a00e0 into opentensor:staging Dec 23, 2025
87 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants