Output
Shift+Enter Should Work
The code is correct - Shift+Enter should insert a newline while Enter alone submits.
Try This
- Hard refresh the page (Ctrl+Shift+R / Cmd+Shift+R)
- Click in the textarea
- Type some text
- Press Shift+Enter - should add newline
- Press Enter alone - should submit
Current Code Logic
if (e.key === 'Enter' && !e.shiftKey) {
e.preventDefault(); // Only blocks Enter WITHOUT Shift
sendPrompt(...);
}Shift+Enter is not intercepted, so browser default (newline) occurs.
I restarted konui just now. If still not working after hard refresh, let me know what browser you're using.
Quick Actions
Original Request
No layout configured
Details
Type
General
Status
Completed
Scope
vibetools
Tags
consoleui
Created
4 Jan 2026, 12:25 am
Updated
4 Jan 2026, 12:25 am
Created By
claude
Raw Data
{
"id": "49bcd18f-fb52-46e9-87b1-b1d41772ce03",
"type": "general",
"status": "completed",
"title": "Shift+Enter Should Work",
"description": "Explaining how newlines work in console input",
"context": {
"output": "<div style=\"background:#1e1e1e;color:#e0e0e0;padding:20px;border-radius:8px;font-family:sans-serif;\"><h2 style=\"color:#fff;margin:0 0 16px 0;\">Shift+Enter Should Work</h2><p style=\"color:#9ca3af;margin-bottom:16px;\">The code is correct - <code style=\"background:#3d3d3d;padding:2px 6px;border-radius:4px;\">Shift+Enter</code> should insert a newline while <code style=\"background:#3d3d3d;padding:2px 6px;border-radius:4px;\">Enter</code> alone submits.</p><div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\"><h4 style=\"margin:0 0 8px 0;color:#f0c14b;\">Try This</h4><ol style=\"margin:0;padding-left:20px;color:#e0e0e0;line-height:2;\"><li><strong>Hard refresh</strong> the page (Ctrl+Shift+R / Cmd+Shift+R)</li><li>Click in the textarea</li><li>Type some text</li><li>Press <strong>Shift+Enter</strong> - should add newline</li><li>Press <strong>Enter</strong> alone - should submit</li></ol></div><div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\"><h4 style=\"margin:0 0 8px 0;color:#fff;\">Current Code Logic</h4><pre style=\"background:#3d3d3d;padding:12px;border-radius:4px;color:#98c379;margin:0;font-family:monospace;font-size:0.85rem;\">if (e.key === 'Enter' && !e.shiftKey) {\n e.preventDefault(); // Only blocks Enter WITHOUT Shift\n sendPrompt(...);\n}</pre><p style=\"color:#7f848e;margin:8px 0 0;font-size:0.85rem;\">Shift+Enter is not intercepted, so browser default (newline) occurs.</p></div><p style=\"color:#7f848e;font-size:0.9rem;margin:0;\">I restarted konui just now. If still not working after hard refresh, let me know what browser you're using.</p></div>",
"requestedAt": "2026-01-04T10:22:00Z",
"requestId": "34b14d87-2853-444d-8ae7-5d8f016cde1d",
"choices": [
{
"label": "It works now",
"value": "Shift+Enter is working correctly after hard refresh",
"primary": true
},
{
"label": "Still broken",
"value": "Shift+Enter still not inserting newlines - I'm using [browser name]"
},
{
"label": "Different shortcut",
"value": "Use a different keyboard shortcut for newlines"
}
]
},
"createdBy": "claude",
"createdAt": "2026-01-03T14:25:20.519Z",
"updatedAt": "2026-01-03T14:25:20.705Z",
"requestId": "34b14d87-2853-444d-8ae7-5d8f016cde1d",
"scope": "vibetools",
"tags": [
"console",
"ui"
],
"targetUser": "claude"
}