Visor Esc handling while renaming files fails

Hitting Esc while renaming a file should not close the Visor, instead it should revert the rename.

Now the opposite happens.

Reproduce:

  1. Open Visor
  2. Select a file and hit enter to start renaming it. Type some name but do not hit enter yet.
  3. Hit Esc to cancel the rename operation

Actual: => The file is renamed and the Visor is closed.
Expected: => Rename is cancelled, Visor stays open.

As a side effect you will loose keyboard input in Visor.

A workaround to regain keyboard input in Visor is to open a new tab. This will not enable keyboard input in the old tab.