Apeiros-46B / qalc.nvim

A Neovim frontend for Qalculate
GNU General Public License v3.0
27 stars 3 forks source link

Unable to display multi-line results properly #3

Open swaroopanand10 opened 10 months ago

swaroopanand10 commented 10 months ago

If the results of a query are multi-line then the second line of result is displayed as the result of next query.

video for explaination-

https://github.com/Apeiros-46B/qalc.nvim/assets/42596780/6c6beda9-009b-4066-ab67-d30e794bddb9

as it can be seen in the video that if I write anything in the next line after the query(in this case =), the second line of result of the previous query is shown in that next line.

Results shown by qalc-cli tool

https://github.com/Apeiros-46B/qalc.nvim/assets/42596780/2bef4bf6-1efd-4ad2-a0ad-385ab6db7c90

The same result is displayed properly in the qalc cli tool in multi-line form.

Apeiros-46B commented 9 months ago

I have been trying to fix this for a long time, but there's not an easy solution unfortunately. I will take another stab at it when I have more free time