# Run with --load "assets/saves/Resupply Smoke Test.json" (one own fleet, TestFleet, at the capital). Opens the Orders
# tab through Fleet > Orders, types orders and checks the help panel on the right follows the cursor
# line: the command list on a blank/unrecognised line, that command's own help once its first four
# letters are typed. Then marks a line as the next order, commits with Esc, reopens to confirm the
# orders round-tripped, and feeds it an invalid line to confirm the discard path keeps the prior
# orders.
Alt+F
O
DUMP

# Blank first line: command list.
W
A
DUMP

# Four letters in: WAIT's own help.
I
T
DUMP

# Next line, REFUel, then a deliberately unrecognised word (back to the list).
Enter
R
E
F
U
DUMP
Enter
X
DUMP

# Replace the junk line with JOIN, mark it as the next order, commit.
Backspace
J
O
I
N
Ctrl+N
DUMP
Escape
DUMP
Enter
DUMP

# Reopen on Orders: the three orders should have round-tripped.
Alt+F
O
DUMP

# An invalid line: Esc offers to discard rather than closing, and discarding keeps the prior orders.
Down
Down
Down
End
Enter
B
O
G
U
S
Escape
DUMP
Enter
DUMP

# Discarded: the saved orders are unchanged (no BOGUS).
Alt+F
O
DUMP

# Destination completion. On a DEST line the panel lists known places nearest first (glyph, x,y, name,
# Close-Up population, in each owner's map colour) and decodes the typed destination. Tab types the
# marked row, Tab/Shift+Tab walk the list.
Down
Down
Down
End
Enter
D
E
S
T
Space
DUMP

Tab
DUMP

Tab
Shift+Tab
Shift+Tab
DUMP

# A typed prefix narrows the list, and the decode line follows what's typed.
Backspace
Backspace
Backspace
Backspace
4
,
DUMP
