charmbracelet / charmbracelet/bubbletea
History logging and displaying twice when writing a shell
- Dominant language
- Go
- Stars
- 44.9k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
Right now even ever I get an error in my shell I'm writing The counter doesn't go up, I think this is because its writing into history twice.
**Setup**
Please complete the following information along with version numbers, if applicable.
- OS Arch
- Shell zsh
- Terminal Emulator kitty
**Source Code**
[github](https://github.com/LiterallyKirby/Airride)
**Expected behavior**
I expected it to compress the output and only log once
**Screenshots**

Contributor guide
Research direction
The issue names no files, tests, or entry points. Reproduce the behavior on Arch with zsh in kitty, then trace how shell errors are written to and displayed from history. Done means an error increments the counter once and its output is compressed and logged once.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, zsh
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100