charmbracelet / charmbracelet/bubbletea

Log to Normal Screen in AltScreen Mode

Open
#1,533 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
44.9k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**

I have a TUI app that also runs a server in the background. The server should be able to log something, but this currently breaks the AltScreen TUI

**Describe the solution you'd like**

An option to log to the normal screen. Such that when quitting the app, the logs from the server remain

Contributor guide

Open the contributing guide

Research direction

Start by tracing how AltScreen mode manages the terminal screen and how applications currently emit logs. Define the option's behavior for logging to the normal screen, including what remains visible after the TUI exits, then identify the tests needed to verify both screen modes.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.