juliawin icon indicating copy to clipboard operation
juliawin copied to clipboard

Add Windows Terminal

Open essenciary opened this issue 4 years ago • 2 comments

This is awesome: https://github.com/microsoft/terminal

essenciary avatar Jun 14 '21 09:06 essenciary

What do you think would be the best approach to add Windows Terminal:

  • Bundle it with Juliawin (✗ extra 30mb, ✗ not integrated with host's wt.exe, ✓ will always work)
  • Try looking for it on the host computer (✓ integrated with host, ✗ not necessarily available)
  • A bit of both (give option to include during installation, but still try to see if host has Windows Terminal otherwise)

And how would you like it integrated into Juliawin:

  • Add new launcher julia-terminal.exe that will open a julia instance in windows terminal (and pass the command line arguments). Outside of Windows Terminal, like cmd, this will require a new window to pop-up.
  • Change juliawin-prompt.exe to launch through Windows Terminal
  • Try some clever magic to integrate this in julia.exe, e.g. do some introspection to see if Julia is launched from a non-terminal-like place (like from windows explorer) and then give it a default terminal of Windows Terminal in stead of cmd. If it is launched from a terminal, ignore Windows Terminal and just open it in the current terminal. This might require some extreme tricks to get just right.

heetbeet avatar Jun 15 '21 21:06 heetbeet

I'd go with the first option as the main feature of JuliaWin is portability.

RoyiAvital avatar Aug 07 '21 11:08 RoyiAvital