longturn / freeciv21

Develop your civilization from humble roots to a global empire
GNU General Public License v3.0
214 stars 39 forks source link

Allow pressing ESC to deselect a unit without changing its orders #2271

Open hugomflavio opened 3 months ago

hugomflavio commented 3 months ago

Is your feature request related to a problem? Please describe. I have my client set to not clear orders when I select a unit. Sometimes I select a unit and later on decide I don't want to change it. Currently, the only ways I've found to deselect the unit are to select another unit, select a city, or clear the order with space and give it again (note: Giving the same order without clearing it first doesn't work).

Describe the solution you'd like Press ESC to deselect a unit without alter what it was doing.

Describe alternatives you've considered Allow repressing the same order again directly? Not ideal...

lmoureaux commented 1 day ago

"W" works for this. ESC is still free (amazing!), what would it do in other contexts?