Page 1 of 1

Keys to finish search

Posted: Fri Oct 20, 2023 7:00 pm
by jdashton
TL;DR
When using any search field, Tab, Return and perhaps other keys should move focus out of the search field.

What ?
In any search field, there should be key-strokes that cause the search field to lose focus.
Why ?
In all well-known operating system GUIs and web pages, the Tab key typically means "move to the next
input field," and the Return or Enter key means "Do it." When searching for items in the Production window
or in the Logistics window, there may be no Next Field, and the concept of Submit or "Do it" probably
makes no sense. However, we still need a way to indicate that we're done searching.

For even more awesomeness, add a way to use keyboard navigation in the Debug window, so that having
found something like "transport-line-gaps" using the search field and having pressed the Tab key, the
checkbox next to the found debug setting will be selected and ready to be clicked with the Spacebar.

Re: Keys to finish search

Posted: Fri Oct 20, 2023 7:59 pm
by Illiander42
jdashton wrote:
Fri Oct 20, 2023 7:00 pm
the Tab key typically means "move to the next input field,"
Except on good terminals (and text editors).

BASH Tab-completion is a wonderful, wonderful thing.