Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bg query workaround causes unwanted output #1145

Open
rsteube opened this issue Sep 14, 2024 · 1 comment
Open

bg query workaround causes unwanted output #1145

rsteube opened this issue Sep 14, 2024 · 1 comment

Comments

@rsteube
Copy link

rsteube commented Sep 14, 2024

Describe the bug

The bg query added as workaround in #1107 causes unwanted output when no tea application is started and output is redirected to /dev/stdout.

Setup

  • OS [e.g. Ubuntu, macOS]
    linux
  • Shell [e.g. zsh, fish]
    bash
  • Terminal Emulator [e.g. kitty, iterm]
    foot
  • Terminal Multiplexer [e.g. tmux]
    none

To Reproduce

go run . >/dev/stdout

Source Code

package main

import (
	_ "github.com/charmbracelet/bubbletea"
)

func main() {}

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots

bsh ❯ go run . >/dev/stdout
Documents/development/moep via 🐹 v1.23.0 
bsh ❯ 11;rgb:0000/0000/0000R

Additional context

@meowgorithm
Copy link
Member

meowgorithm commented Sep 14, 2024

Oof, thanks for the report, @rsteube. We’ll prioritize this one.

Also—one of the primary reasons for a v2 is to eliminate this situation entirely.

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

No branches or pull requests

2 participants