Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to save original input to history, instead of the result #64

Open
kankaristo opened this issue Dec 7, 2020 · 1 comment
Open

Comments

@kankaristo
Copy link

rofi-calc is really useful, thanks for creating it!

One feature that I'd like to see is the ability to save the original input into the history, instead of the result.

So, if I type 10 EUR to USD, and select "Add to history", that input would be saved into history, instead of the result of 10 * euro = approx. 12,159000 $.


With this feature available, it would also be useful to be able to select an item from history, and edit it.

So, if I would select 10 EUR to USD from the history, and press Shift+Enter (or something similar), the current input would be replaced by that, and I would be able to edit it (to something like 15 EUR to USD, without having to type all of that out).

(I'm not very familiar with Rofi, so I'm not sure if the above is even possible to implement.)

@svenstaro
Copy link
Owner

I see what you mean. It's definitely possible to implement. What do you think about a -save-original flag that does this? I'm unlikely to have time to implement this soon but I'd definitely accept a contribution for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants