Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Bug/Feature?]: web ui does not propagate console width and height to pty

Aperta
#82 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
64/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
bun, typescript
Ambito
backend, cli

Direzione di ricerca

Start by tracing how the web UI creates and resizes the PTY, then check how terminal dimensions are passed to the running process. Reproduce by resizing the browser while a TUI reports its terminal size on resize; done when the PTY receives the new width and height instead of retaining its initial dimensions.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug

Description

Resizing browser window, does not inform the underlying terminal window of the new size. even resizing the window and reloading it will only change the optical size, but the underlying terminal does not get updated.

Why needed

I am testing TUI tools.

Reproduction Steps

Steps to reproduce the behavior:

Resize the browser window and have some code running that outputs its TTY width and height on resize event.

Expected Behavior

I expect the TTY to get the resize event and the correct sizes.

Actual Behavior

Currently it stays with 120 by something.

Environment

  • OS: Windows 11
  • OpenCode Version: opencode v2.0.26
  • Plugin Version: 0.4.0
  • Bun Version: 1.4.2
[Paste relevant log output here]

Additional Context

Add any other context about the problem here.

Lingua principale
TypeScript
Stelle
601
Fork
66
Merge medio
1g 20h
PR unite (30g)
3

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di shekohex/opencode-pty

Tutte le issue di shekohex/opencode-pty

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.