# OhMyREPL: Bracket completion only when pasting into the REPL via screen

**URL:** <https://discourse.julialang.org/t/ohmyrepl-bracket-completion-only-when-pasting-into-the-repl-via-screen/108882>\
**Category:** New to Julia\
**Tags:** repl, repl-autocomplete\
**Created:** [January 16, 2024, 9:37pm UTC](https://discourse.julialang.org/t/ohmyrepl-bracket-completion-only-when-pasting-into-the-repl-via-screen/108882 "2024-01-16T21:37:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tetrakai](https://avatars.discourse-cdn.com/v4/letter/t/4da419/32.png) [@Tetrakai](https://discourse.julialang.org/u/Tetrakai)\
**Post date:** [January 16, 2024, 9:37pm UTC](https://discourse.julialang.org/t/ohmyrepl-bracket-completion-only-when-pasting-into-the-repl-via-screen/108882/1 "2024-01-16T21:37:15Z")

</div>

This would normally work fine:

```julia
paths = Dict(:A => "dirA", 
             :B => "dirB")

```

But I wanted to use screen to monitor the REPL session via another device. I then kept getting this error:

```julia
julia> paths = Dict(:A => "dirA", )
Dict{Symbol, String} with 1 entry:
  :A => "dirA"

julia> :B => "dirB")
ERROR: ParseError:
# Error @ REPL[2]:1:27
             :B => "dirB")
# ╙ ── extra tokens after end of expression

```

It took me awhile to figure it out, thinking it had to do with newlines and was a screen setting. Instead it appears the OhMyREPL behavior is different for some reason. Ie, this setting fixed the problem:

[https://kristofferc.github.io/OhMyREPL.jl/latest/features/bracket\_complete/#Settings](https://kristofferc.github.io/OhMyREPL.jl/latest/features/bracket_complete/#Settings)

I figured I’d post it since I didn’t find that info right away. Any idea why I get the different behavior? I see some discussion here:

> <https://github.com/KristofferC/OhMyREPL.jl/issues/166>
>
> Typing \`\[\]\` gives \`\[\]\]\`
