When the painting is finished, use arrow keys to move selection, and Enter to zoom. Esc stops the program.
See source code.