Like any modern computer, mine can show more than 80 characters on screen, but if i run mix task or run code through iex output is shown only in 80 columns.
I use iTerm2 with zsh as shell and Elixir and I don’t have this problem with python nor ruby. Any suggestion what is the cause? It’s a minor annoyance, but still i’d like to fix it.
An integer indicating the number of columns to use in documentation output. Default is 80 columns or result of :io.columns, whichever is smaller. The configured value will be used unless it is too large, which in that case :io.columns is used. This way you can configure IEx to be your largest screen size and it should always take up the full width of your terminal screen
It definitely does not take up my full screen size though, less than half of the available width. It really should default to the width and resize properly as the screen is resized as well…
Windows… My guess is that is why the default is set at 80 and there’s no attempt to calculate it.
For good or ill, elixir tooling tends to err on the side of making windows and unix as similar as possible. When it comes to adding features that would work on unix and not at all on windows, that feature is not implemented in my experience.