zorglubb

zorglubb

I have been testing out all sorts of terminal applications on Windows like CmEMU, GitBash, CMDer and many others and frankly, working inside it with Elixir leaves a lot to be desired from working in Terminal on MacOS and Linux.

Now Microsoft has release a pretty cool Windows Terminal, and working in iex is exactly the same. No tab complete, no formatting to speak of, no colors. This is such a big feature of working in IEX.

Is there a push or interest in making the Windows Terminal more useful, or is there some switch or configuration that I am missing?

Showing Posts 1 to 10

NobbZ

NobbZ

The various Bashes for Windows should work. At least color.

Another thing you can try is to use the --werl switch. It will open a separate window.

orion

orion

Tab complete and colors work for me on the new windows terminal. I just installed it.
Tab and colors also work with the old wsl/ubuntu/cmd terminal and hyper.

Hyper is heavy on the memory but here is the link in case you haven’t seen it. https://hyper.is

Edit: Colors and tab works with WSL but not with native elixir with command prompt/cmd for me.

NobbZ

NobbZ

Wow… A stripped down chrome(ium) just to display some textual information… Yes, that one needs a lot of memory for sure…

I’m pretty sure there are a lot of alternatives that’d work as well as hyper and use a lot less memory…

Arpple

Arpple

I used Hyper.js + git bash + elixir installed on windows at first and it can’t use tab to auto complete in iex
after I switch to Window Terminal + WSL (ubuntu) + elixir installed inside WSL everything works fine, not seeing any issue now.

dimitarvp

dimitarvp

In CMD you can just do this:

iex.bat --werl -S mix

It opens a new window which has tab completion at least. Colors though, no.

zorglubb

zorglubb OP

This does not TAB complete

zorglubb

zorglubb OP

Did you do anything? Did you run IEX through a bash linux shell ? I wasn’t clear on this, but this should work on windows command line interfaces like new terminal in cmd and powershell.
That it works under Linux subsystem is not what I am after

dimitarvp

dimitarvp

For me it has tab completion working though. Strange.

NobbZ

NobbZ

CMD and Powershell work fundamentally different from the emulators or TTYs you’d use under Linux. That’s why the --werl workaround has been created by the Erlang folks. If it doesn’t work for you, then something is different with your setup from that of everyone else.

orion

orion

I’m not able to get colors and tabbing working outside of WSL except when the command iex.bat --werl is ran from command prompt/cmd. Only tabs work for me with iex.bat --werl not colors.

Where Next? Top

Trending in Discussions Top

AstonJ
The obligatory hello world thread! Who are you and where are you from? :stuck_out_tongue:
4663 61218 595
New
cblavier
Hey there, It’s been more than a year since we started using LiveView as our main UI library and building a whole library of UI componen...
515 12931 101
New
wmnnd
Hey folks, I wanted to share with you a project I’ve been working on for a while: It’s an Open Source (AGPLv3) newsletter tool. Think Ma...
New
raa-ziq
Hi everyone :waving_hand: I wanted to share something I’ve been building — NowBlind, a random chat app designed to help people discover ...
New
sntran
In my third year of college, around 2010, I found Erlang. A few years later, I found Elixir. I liked the ideas at once: many small proces...
New
Ganna
Hi everyone, I have 8 years of production experience with Erlang/OTP and I’m just starting to get to know Elixir. What would you learn f...
New
gtcode
I’ve been tinkering with Lynx (by José) via hold_ledger. I used AI to write the code, a separate specification, the tests, and the Lean p...
New

Other Trending Topics Top

williamthome
Hi all o/ I’d like to introduce Roadrunner, an HTTP server written in Erlang and built for low tail latency under sustained load. It ser...
New
dominicletz
Hey there, I haven’t seen a list of useful Elixir specific skills for the popular AI tools yet so I’m starting one here with my first. ...
New
mudasobwa
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
KristerV
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
OndrejValenta
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly) AI dream has many faces, but general...
New
kip
Localize is the next generation localisation library for Elixir. Think of it as ex_cldr version 3.0. The first version will be released ...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews