Open slashinfty opened 8 months ago
I don't think this currently possible. I'd accept a contribution for this. Should be easy enough. Maybe use one of these custom input modes? We already use kb-accept-custom
so perhaps you could use kb-accept-alt
? Should be pretty easy to add to calc_mode_result()
if you wanna take a stab at this.
I'd also accept a contribution for adding a flag that always has this behavior on normal Return
. What do you think?
I think a flag would be my preferred choice. I agree that I do not think it's possible at the moment. I am unfamiliar with rofi development (or C for that matter), but I could theoretically explore it myself. Might still be better for someone else with experience to tackle it, though.
I don't like C either. If you wanna tackle it, I'm very much up for a rewrite of rofi-calc to Rust. :P
Hey, thanks for the add-on to Rofi.
Is it possible to clear the input bar after pressing
Return
and having the result added to history? Could-calc-command
be used for this?Thanks in advance!