swap the single-line <input> for an auto-growing <textarea>. enter submits, shift+enter newlines, ime composition respected (skip submit while isComposing). height caps at ~12em then scrolls. submit-hint updates to '↵ send · ⇧↵ newline'. async-form handler now also clears textareas on success. |
||
|---|---|---|
| .. | ||
| agent.css | ||
| app.js | ||
| index.html | ||