charmbracelet / charmbracelet/bubbletea

History logging and displaying twice when writing a shell

Open
#1,396 1 comment 0 reactions 0 assignees View on GitHub
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**

![Image](https://github.com/user-attachments/assets/1628b65a-9877-4e6d-ad78-00eee643ee4a)

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.