tui: Shift+P becomes lowercase p in embedded Lazygit
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 42/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- typescript
- Bereich
- cli
Rechercherichtung
Start from the embedded-terminal input path in the TypeScript TUI: find where PTY input bytes from Ctrl+X then t are translated before reaching lazygit, and compare against the raw reader that already received 70 50 correctly. Reproduce with the scripted PTY (TERM=xterm-256color, literal bytes 70 50) and with TCELL_KEYBOARD_PROTOCOL=legacy lazygit as the working control. Done means p then Shift+P lands as pP in the commit-message field without the legacy env var.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Description
In OpenCode’s embedded terminal, Lazygit receives Shift+P as lowercase p. On the main screen this triggers Pull instead of Push. In the commit-message field, typing p and then Shift+P inserts pp instead of pP.
Plugins
None in the isolated reproduction (--standalone with fresh XDG directories).
OpenCode version
2.3.2
Steps to reproduce
- Open OpenCode in a Git repo with at least one staged change. Use an existing session and press
Ctrl+X, thent, to open the embedded terminal. - Run
lazygit(reproduced with 0.66.3). - In the Files panel, press
cto open the commit-message field. - Type
p, thenShift+P. The field containspp; it should containpP. PressEscto cancel without committing. No remote is required for this test.
Screenshot
In an isolated PTY, sending literal bytes 70 50 (pP) produced pp in Lazygit inside OpenCode and pP in Lazygit directly. A raw input reader inside OpenCode also received 70 50 correctly. Launching Lazygit inside OpenCode with TCELL_KEYBOARD_PROTOCOL=legacy lazygit preserved pP for the same input. This suggests a keyboard-protocol compatibility issue; the exact layer that drops the uppercase character is unconfirmed.
Operating System
Linux 6.18.64, x86_64; zsh on the host.
Terminal
Ghostty/tmux on the report machine. The isolated reproduction also worked in a scripted PTY with TERM=xterm-256color, outside the live Ghostty/tmux session.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 227k
- Forks
- 30.7k
- Ø Merge
- 3 Std. 57 Min.
- Gemergte PRs (30 T.)
- 484
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus anomalyco/opencode
-
[Site] Active section detection should respect scroll-margin-topEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offenarea/web reproduced type/bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
anomalyco/opencode#65384 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
area/cli type/feature version/v2
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
anomalyco/opencode#65379 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Shell tool: no upper bound on the timeout a model can ask for, so one call can hold a turn for hoursOffenarea/core platform/linux type/feature version/v2
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
anomalyco/opencode#65254 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
inference/go type/feature
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 72/100
anomalyco/opencode#65148 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
area/providers type/feature version/v2
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
anomalyco/opencode#64845 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in anomalyco/opencode
Ähnliche Issues
-
[Provider] antigravity-acp catalog omits gemini-4-hydrogen and gemini-4-neon that agy acp offersEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offencatalog provider provider-compatibility
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
lidge-jun/opencodex#9037 · 1 Kommentar · 1 Reaktion ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 62/100
slavakurilyak/awesome-ai-agents#1005 ·
-
kind/bug triage/unresolved
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 60/100
Maintainer antworten meist innerhalb von 1 Tag
-
effort:S P3 refactor
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
nightscout/nocturne#3735 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
wpilibsuite/systemcore-blocks-interface#641 ·
Maintainer antworten meist innerhalb von 2 Tagen