Skip to content

Commit

Permalink
Fix issue 222. (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
chriselrod authored Nov 25, 2020
1 parent c7f9e27 commit c2a9fa4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/OhMyREPL.jl
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function __init__()
main_mode = repl.interface.modes[1]
p = repl.interface.modes[5]
# These are inserted here because we only want to insert them for the Julia mode
d = Dict(
d = Dict{Any,Any}(
# Up Arrow
"\e[A" => (s,o...)-> begin
REPL.LineEdit.edit_move_up(s) || LineEdit.enter_prefix_search(s, p, true)
Expand All @@ -119,7 +119,7 @@ function __init__()
Prompt.rewrite_with_ANSI(s)
end
)
main_mode.keymap_dict = LineEdit.keymap([d, main_mode.keymap_dict])
main_mode.keymap_dict = LineEdit.keymap(Dict{Any,Any}[d, main_mode.keymap_dict])
end
end

Expand Down

0 comments on commit c2a9fa4

Please sign in to comment.