[erlang-questions] How to disable parentheses matching in Erlang shell?
Sat May 14 23:19:18 CEST 2016
On 05/14/2016 03:32 AM, Grzegorz Junka wrote:
> Fixing my terminal to 80 characters only seems like taken straight from
> the Windows world. I hope Erlang can do better ;)
If ncurses can't determine your terminal size, then falling back to
80x24 makes a lot of sense. Do other ncurses-based programs behave
> Is there any way of
> telling the Erlang terminal how wide is my terminal, e.g. an environment
On my system, it looks like the environment variables LINES and COLUMNS
correspond to the current size of my terminal window. When I set COLUMNS
to a value that does not match the window's current size, then the
Erlang shell's paren matching bounces the cursor backwards to the wrong
place (but back forwards to the right place). Maybe this will be the
band-aid you need.
However, it might be more useful to fix whatever is preventing ncurses
from determining the terminal size.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 819 bytes
Desc: OpenPGP digital signature
More information about the erlang-questions