<p dir="auto">I am using the Terminal 2.4 in Mac OS X 10.9, Julia Version 0.3.4-pre+47</p>
<p dir="auto">I don't know how it happened, but I got a <code class="notranslate">\0</code> in my REPL, which got stored in my <code class="notranslate">.julia_history</code> file. Whenever I try to up-arrow to the line and edit it, the cursor marker doesn't move, but internally the cursor does seem to move because I can insert characters in different positions.</p>
<p dir="auto">I don't know how to type a <code class="notranslate">\0</code> character, but you can reproduce the behavior by manually inserting a <code class="notranslate">0x00</code> byte into the beginning of some line in <code class="notranslate">.julia_history</code>.</p>
<p dir="auto">It's not a big deal, because I don't often inadvertently type that character, but maybe it could be ignored or something.</p>
<p dir="auto">I'm finding that when I type a ctrl-space, it is being inserted into my repl input, causing the parser to get confused:</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia&gt; x = &lt;ctrl-space&gt;1&lt;return&gt;
&lt;return&gt;
&lt;return&gt;
ERROR: syntax: incomplete: premature end of input"><pre class="notranslate">julia<span class="pl-k">&gt;</span> x <span class="pl-k">=</span> <span class="pl-k">&lt;</span>ctrl<span class="pl-k">-</span>space<span class="pl-k">&gt;</span><span class="pl-c1">1</span><span class="pl-k">&lt;</span><span class="pl-k">return</span><span class="pl-k">&gt;</span>
<span class="pl-k">&lt;</span><span class="pl-k">return</span><span class="pl-k">&gt;</span>
<span class="pl-k">&lt;</span><span class="pl-k">return</span><span class="pl-k">&gt;</span>
ERROR<span class="pl-k">:</span> syntax<span class="pl-k">:</span> incomplete<span class="pl-k">:</span> premature <span class="pl-k">end</span> of input</pre></div>
<p dir="auto">This is on a day-old julia:</p>
<div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia&gt; versioninfo()
Julia Version 0.3.0-prerelease+3217
Commit 5fcfb13* (2014-05-26 13:43 UTC)
Platform Info:
  System: Linux (x86_64-linux-gnu)
  CPU: Intel(R) Core(TM) i7-4500U CPU @ 1.80GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY)
  LAPACK: libopenblas
  LIBM: libopenlibm"><pre class="notranslate">julia<span class="pl-k">&gt;</span> <span class="pl-c1">versioninfo</span>()
Julia Version <span class="pl-c1">0.3</span>.<span class="pl-c1">0</span><span class="pl-k">-</span>prerelease<span class="pl-k">+</span><span class="pl-c1">3217</span>
Commit <span class="pl-c1">5</span>fcfb13<span class="pl-k">*</span> (<span class="pl-c1">2014</span><span class="pl-k">-</span><span class="pl-c1">05</span><span class="pl-k">-</span><span class="pl-c1">26</span> <span class="pl-c1">13</span><span class="pl-k">:</span><span class="pl-c1">43</span> UTC)
Platform Info<span class="pl-k">:</span>
  System<span class="pl-k">:</span> Linux (x86_64<span class="pl-k">-</span>linux<span class="pl-k">-</span>gnu)
  CPU<span class="pl-k">:</span> <span class="pl-c1">Intel</span>(R) <span class="pl-c1">Core</span>(TM) i7<span class="pl-k">-</span><span class="pl-c1">4500</span>U CPU @ <span class="pl-c1">1.80</span>GHz
  WORD_SIZE<span class="pl-k">:</span> <span class="pl-c1">64</span>
  BLAS<span class="pl-k">:</span> libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY)
  LAPACK<span class="pl-k">:</span> libopenblas
  LIBM<span class="pl-k">:</span> libopenlibm</pre></div>