Skip to content

Added calculator functionnality - #216

Closed
F-4Dev wants to merge 20 commits into
philj56:masterfrom
flloschy:master
Closed

F-4Dev wants to merge 20 commits into
philj56:masterfrom
flloschy:master

Conversation

@F-4Dev

@F-4Dev F-4Dev commented Feb 5, 2025

Copy link
Copy Markdown

We've added the possibility to run calculations inside the tofi promt.
It will display the calculation result inside the suggestions list.

This feature uses the libqalculate package (called by running qalc)

Currently we face still a few problems where tofi just freezes and cant be closed or used, thats why its still a Draft :)

referring to this issue: #172

@flloschy

flloschy commented Feb 5, 2025

Copy link
Copy Markdown

Fyi, we dont know C and never worked with it before :)

We thought its a fun project to do while we have some school project week thing since we also miss this functionality in tofi and a second shortcut with a workaround script is just not as nice

@flloschy

flloschy commented Feb 7, 2025

Copy link
Copy Markdown

I think we should do a full refreshed start and only copy our working to the workover to avoid formatting whole files for nothing.

If someone wants to explain how to add new files (.c + .h) and link them(?) that would be much appreciated, currently we are struggling to do that in order to have a separate modules.c file in which modules like math and search and more could be placed

@F-4Dev F-4Dev closed this Feb 7, 2025
@F-4Dev

F-4Dev commented Feb 7, 2025

Copy link
Copy Markdown
Author

New PR: #217
Now with better commit messages!
(No batteries included)

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

Successfully merging this pull request may close these issues.

3 participants