claude-opencode-viewer 2.1.4 → 2.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.html +5 -0
  2. package/package.json +1 -1
package/index.html CHANGED
@@ -501,6 +501,11 @@
501
501
  };
502
502
 
503
503
  function sendKey(keyName) {
504
+ // 点击虚拟按键时收起手机键盘
505
+ if (inputField && isMobile) {
506
+ inputField.blur();
507
+ }
508
+
504
509
  // Enter 键特殊处理:根据焦点位置决定行为
505
510
  if (keyName === 'enter') {
506
511
  if (inputFocused && inputField && inputField.value) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-opencode-viewer",
3
- "version": "2.1.4",
3
+ "version": "2.1.5",
4
4
  "description": "A unified terminal viewer for Claude Code and OpenCode with seamless switching",
5
5
  "type": "module",
6
6
  "main": "server.js",