Last command always is still active after operation, watch at the bottom at the mouse symbol, you are asked for the next step. If canceled with ESC or right mouse click, another right mouse click will offer the last commands in context menu.
I can't find the last command on a right-click after and ESC or cancel. Maybe I'm just doing something wrong. Would entering a command whenever an icon was pressed make that command repeated as well - just a thought.
If you didn't know up arrow maybe you don't know [TAB]:
hit sp then [TAB] and you are presented with all the commands starting with sp spline spline2
it also autocompletes the command with the first common letters. spline
It works even if you don't write any letter, in that case it shows all available commands.