sharkdp / insect

High precision scientific calculator with support for physical units
https://numbat.dev/
MIT License
3.18k stars 126 forks source link

Can it use Windows Terminal instead of Windows' default console (cmd.exe)? #337

Closed giladrefael closed 1 year ago

giladrefael commented 2 years ago

The app opens by default in cmd.exe where glyphs aren't supported. Is it possible to make it run in Windows Terminal if available? Attaching an image to show the visual difference between running the app from Windows Explorer (left) vs running from CLI in Windows terminal (right). Both using Fira Code nerd font.

image

giladrefael commented 2 years ago

A workaround I did is to create a batch file that runs the following command to launch insect from Windows terminal wt insect.exe

triallax commented 2 years ago

I don't have a solution for the issue itself, but please note that we've decided not to ship executables with Insect releases anymore (see https://github.com/sharkdp/insect/issues/297), so the next release will have no executables for you to use. Instead, you'll have to install Insect from npm using npm install insect, or use https://insect.sh. If you have any alternatives to nexe, please feel free to suggest them and we'll consider using them.

triallax commented 1 year ago

No reply to my previous comment, and the issue is obsolete anyway, so closing. Feel free to leave a comment if you have any questions.