From 3458a76c0d8a08e88c6b442f3fe3088e4b1dbc6a Mon Sep 17 00:00:00 2001 From: Jerry Ling Date: Thu, 4 Jul 2024 05:07:31 -0400 Subject: [PATCH] fix JLFzf loading (#359) --- src/repl.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/repl.jl b/src/repl.jl index 73118e8..1a353bd 100644 --- a/src/repl.jl +++ b/src/repl.jl @@ -19,6 +19,10 @@ import REPL.Terminals: raw!, width, height, cmove, getX, TerminalBuffer, using OhMyREPL import OhMyREPL: untokenize_with_ANSI, apply_passes!, PASS_HANDLER +if VERSION > v"1.3" +import JLFzf +end + @nospecialize # use only declared type signatures function rewrite_with_ANSI(s, cursormove::Bool = false)