<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Could you test this fix and see if it makes the cursor behave<br>
when connected with to_erl/run_erl.<br>
<br>
git fetch <a class="moz-txt-link-freetext" href="https://github.com/sverker/otp">https://github.com/sverker/otp</a> sverker/ttsl_drv-move-down<br>
<br>
/Sverker, Erlang/OTP<br>
<br>
<br>
<div class="moz-cite-prefix">On 05/15/2016 11:45 PM, Grzegorz Junka
wrote:<br>
</div>
<blockquote
cite="mid:b09065bc-299c-c217-966c-5bf5f1d34f6e@gjunka.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<p>I just realized what is likely causing the problem. When I
start the shell with erl and type in this testing string (with
spaces so it's longer) it all works fine:</p>
<p>lists:sort([{a, 1}, {b, 2}, {c, 3}, {d, 4}, {e, 5}, {f, 6}, {g,
7}, {h, 8}, {i, 9}, {j, 10}]).</p>
<p>But I very rarely use Erlang shell in this way. Most of the
time I am connecting to running Erlang nodes using to_erl
specifying the shell's PID. Then it breaks, probably because my
terminal size doesn't match the default terminal size with which
the shell has been originally started.</p>
<p>When I then try to type in the same example the shell will
match each {} correctly but as soon as I type ']' to close the
list the cursor jumps to the line above, then some other place
when I type ')'.<br>
</p>
<p>So it's not related to the environment but to the way I am
using Erlang shell. Is there any solution to that?</p>
<p>Grzegorz<br>
</p>
<br>
</blockquote>
<br>
</body>
</html>