desktop: toggle-terminal shortcut opens the terminal but leaves focus in the prompt box
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 68/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- desktop
Hướng nghiên cứu
Bắt đầu từ phần xử lý phím tắt bật hoặc tắt terminal trong ứng dụng desktop và theo dõi việc mở terminal ảnh hưởng đến tiêu điểm như thế nào; issue không nêu tên tệp hoặc bài kiểm thử cụ thể. Thực hiện lại các bước khi con trỏ ở trong ô prompt, sau đó xác minh rằng sau khi nhấn phím tắt một lần, nội dung nhập vào sẽ được gửi đến shell của terminal.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
In the desktop app, the toggle-terminal shortcut opens the terminal but leaves keyboard focus in the prompt box, so whatever you type next lands in the prompt instead of the terminal.
Environment
- opencode version: Desktop 2.1.1 (
ai.opencode.desktop) - OS: macOS, Darwin 27.0.0 arm64
- Terminal: Built-in desktop terminal panel
- Shell: /bin/zsh
- Install/channel: latest
- Active plugins: None (no plugins or keybind overrides in
~/.config/opencode/opencode.jsonc)
Reproduction
- Open a session in the desktop app with the cursor in the prompt box.
- Press the toggle-terminal shortcut once.
- Start typing.
Expected Behavior
Opening the terminal moves focus into it, so keystrokes go to the shell.
Actual Behavior
The terminal opens, but focus stays in the prompt box and keystrokes are typed into the prompt.
Additional Context
- Happens every time, on a single press of the shortcut.
- Related but different: #55992 loses terminal focus only when the shortcut is toggled rapidly in the web UI. This happens on one press, in the desktop app.
- Workaround: click into the terminal after opening it.
- Ngôn ngữ chính
- TypeScript
- Star
- 215k
- Fork
- 28.9k
- Merge trung bình
- 4 giờ 21 phút
- Pull request đã merge (30 ngày)
- 476
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của anomalyco/opencode
-
desktop: maximized state lost when saved bounds exceed the displayCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởreproduced
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
anomalyco/opencode#58247 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
anomalyco/opencode#58216 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
pending close triaging
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
anomalyco/opencode#58181 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Opencde Github Actions Bot Cannot InstallCó thể đã có người làm @zzz-creator đã nhận 1 ngày trước. Đang mởreproduced
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
anomalyco/opencode#57911 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
anomalyco/opencode#57855 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của anomalyco/opencode
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
braintrustdata/braintrust-sdk-javascript#2659 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
body-parser 2.3.0 in the published ai-dial-chat-bff image is vulnerable (CVE-2026-111181, HIGH)Có thể đã có người làm @illya-havsiyevych đã nhận hôm nay. Đang mởbug
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 87/100
epam/ai-dial-chat#9566 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
Maintainer thường phản hồi trong vòng 1 ngày
-
はさみアイコンを修正するĐang mởbug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 68/100
-
resource.reload() while params is in error switches the resource to 'idle' instead of retryingĐang mởarea: core
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày