Re:Bring Back Idiomatic Design
by carlosjobim on Sunday April 12, 2026 @12:41PM
(#47741726)
Apart from a chat interface, when should enter ever submit your text?
[ Parent
| on HN ]
Re:Bring Back Idiomatic Design
by JoshTriplett on Sunday April 12, 2026 @04:10PM
(#47743930)
A single-line text box that has no possibility of multi-line text (so, not a chat interface), such as search, an address bar, something that's obviously "submit one item" (e.g. "submit a word"), etc.
In a multiline text box, enter should NOT submit the form. Chat interfaces violate this rule and it results in lots of premature chat submissions.
Re:Bring Back Idiomatic Design
by owlstuffing on Sunday April 12, 2026 @01:24PM
(#47742192)
Precisely. 'member CUA?
In single-text-input contexts, like search fields and the browser address field, and things like Save As dialogs. Itβs the general expectation for dialogs with an OK or default button, just like Escape cancels the dialog.
A search box, I think