# Statistics: close window with Esc, Enter, and/or same keybind that opens it

**URL:** https://discourse.joplinapp.org/t/statistics-close-window-with-esc-enter-and-or-same-keybind-that-opens-it/26797
**Category:** Features
**Created:** [8 August 2022 02:47 UTC](https://discourse.joplinapp.org/t/statistics-close-window-with-esc-enter-and-or-same-keybind-that-opens-it/26797 "2022-08-08T02:47:48Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![hq9gz](https://avatars.discourse-cdn.com/v4/letter/h/e9c0ed/32.png) [@hq9gz](https://discourse.joplinapp.org/u/hq9gz)
#### Post date: [8 August 2022 02:47 UTC](https://discourse.joplinapp.org/t/statistics-close-window-with-esc-enter-and-or-same-keybind-that-opens-it/26797/1 "2022-08-08T02:47:48Z")

</div>

Current state: When I open note statistics via Tools \> Statistics... there is no way to close it except by clicking on the Close button with the mouse.

Desired:

- Allow for closing the note statistics window by pressing Esc.
- Allow for closing the note statistics window by pressing Enter.
  - Currently pressing Enter types inside the current note, see [Wrong "visual" focus in Note Statistics](https://discourse.joplinapp.org/t/wrong-visual-focus-in-note-statistics/21172) for further details

- Allow for closing the note statistics window by pressing the same keybind that is set to open it.
