bornova / numara-calculator

Simple notepad calculator built on Electron, powered by Math.js
https://numara.io
MIT License
101 stars 11 forks source link

[Feature request] Set focus to new line on launch and remember window position #94

Open Vanav opened 3 hours ago

Vanav commented 3 hours ago

To start calculation quickly, it is useful, if user can start typing immediately. I suggest on launch: add new line to the end on input, if there is no new line, and move focus to it.

Test case:

  1. Launch Numara
  2. Type "2+2", got result.

Also, please, remember window position on screen on close, so window should not always launch on screen center.

bornova commented 2 hours ago

Hi @Vanav, Numara is supposed to start where the user left off when the app was closed but I see the editor is not being focused on start at the moment. I will release a fix asap.

I like the idea of remembering the window position. I will add this to the next release as well. Thanks for the suggestion!