Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#6,032 4 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
shell, typescript
Lĩnh vực
tooling

Hướng nghiên cứu

Không có tệp hoặc bài kiểm thử nào được nêu tên. Hãy tái hiện trình tự tải lại trong Chrome với bash làm shell mặc định, sau đó lần theo cách web terminal khôi phục hoặc chọn shell của nó sau khi trang được tải lại; hoàn tất khi mở lại bằng CTRL+` khởi chạy bash thay vì sh.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
TypeScript
Star
79.4k
Fork
6.9k
Merge trung bình
2 ngày 13 giờ
Pull request đã merge (30 ngày)
39

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của coder/code-server

Tất cả issue của coder/code-server

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.