fix: add tmux mouse setup to INSTALL.md, clarify Enter-to-submit on input widgets

This commit is contained in:
Mortdecai
2026-03-29 20:26:12 -04:00
parent ef34625104
commit f5dd2a6f58
2 changed files with 17 additions and 2 deletions
+1 -1
View File
@@ -217,7 +217,7 @@ def create_mcp_server(workbench_dir: Path = DEFAULT_WORKBENCH_DIR, socket_dir: s
async def kitt_display(project: str, widget: str, content: str = "", items: str = "",
id: str = "", label: str = "", placeholder: str = "",
pane: str = "main", clear: bool = False) -> str:
"""Push content to the display pane. Widget types: 'markdown' (rendered text), 'table' (columns+rows as JSON in content), 'checklist' (items as JSON array), 'button' (needs id+label), 'input' (needs id+placeholder). Use kitt_events to read user interactions."""
"""Push content to the display pane. Widget types: 'markdown' (rendered text), 'table' (columns+rows as JSON in content), 'checklist' (items as JSON array), 'button' (needs id+label), 'input' (text field — needs id+placeholder, user must press Enter to submit). Tell the user to press Enter to submit text inputs. Use kitt_events to read user interactions."""
return await srv.kitt_display(project, widget, content, items, id, label, placeholder, pane, clear)
@mcp.tool()