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

[Bug]: Terminal shows incorrect shell type after reloading webpage

Aperta
#6,032 4 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
shell, typescript
Ambito
tooling

Direzione di ricerca

Non vengono indicati file o test. Riproduci la sequenza di ricaricamento in Chrome con bash come shell predefinita, quindi traccia il modo in cui il terminale web ripristina o seleziona la sua shell dopo il ricaricamento della pagina; il lavoro è completato quando la riapertura con CTRL+` avvia bash invece di sh.

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

Descrizione

bug
Is there an existing issue for this?
  • I have searched the existing issues
OS/Web Information
  • Web Browser: Chrome version 110.0.5481.178 (Official Build) (64-bit)
  • Local OS: Windows 11 Pro
  • Remote OS: Debian 11 in LXC
  • Remote Architecture: x86 (AMD)
  • code-server --version: 4.10.0
Steps to Reproduce
  1. Set default shell to bash.
  2. Open terminal, should be bash.
  3. Click trashcan and kill the terminal.
  4. Refresh page, or close and re-open tab before reopening terminal.
  5. Hit CTRL+` to open terminal, will open sh terminal instead of bash -- hitting trashcan and reopening without the refresh it will open bash terminal as expected.
Expected

Expect that default terminal is launched regardless of state when the application was last used. If bash is set to default, it should launch a new bash terminal.

Actual

The wrong terminal is launched and the default setting is ignored.

Logs

No response

Screenshot/Video

No response

Does this issue happen in VS Code or GitHub Codespaces?
  • I cannot reproduce this in VS Code.
  • I cannot reproduce this in GitHub Codespaces.
Are you accessing code-server over HTTPS?
  • I am using HTTPS.
Notes

No response

Lingua principale
TypeScript
Stelle
79.4k
Fork
6.9k
Merge medio
2g 13h
PR unite (30g)
39

Guida per i contributori

Apri la guida per i contributori

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 coder/code-server

Tutte le issue di coder/code-server

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.