Actually, I fixed this so that any display pushed in .juliarc.jl will be on
top of the display stack.


On Tue, Jul 1, 2014 at 5:12 PM, Steven G. Johnson <[email protected]>
wrote:

> On Tuesday, July 1, 2014 1:20:25 PM UTC-4, Laszlo Hars wrote:
>>
>> This is what I have in my juliarc.jl file
>> ~~~
>> pushdisplay(TextDisplay(STDOUT))
>>
>
> I think the problem is that .juliarc.jl is run before the REPL is
> initialized, whereas you want to push the display afterwards.  i.e. your
> TextDisplay is no longer on top of the display stack when the REPL runs.
>
> Why are you using juliarc.jl for this?   It seems more sensible to put the
> script you want into a file myrepl.jl, and then just run julia myrepl.jl
> ...
>

Reply via email to