From 01e006271142c62554ccabc1194680fc7f4156a3 Mon Sep 17 00:00:00 2001 From: Frankie Robertson Date: Tue, 26 Sep 2023 22:27:56 +0300 Subject: [PATCH] Fix complete_line for Julia REPL with tab-completion (#502) * Fix complete_line for Julia REPL with tab-completion The current nightly Julia REPL asserts the type of LineEdit.complete_line * Patch version bump => 0.13.18 --- Project.toml | 2 +- src/RPrompt.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index 6ecf7a4b..926f4ff3 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "RCall" uuid = "6f49c342-dc21-5d91-9882-a32aef131414" authors = ["Douglas Bates ", "Randy Lai ", "Simon Byrne "] -version = "0.13.17" +version = "0.13.18" [deps] CategoricalArrays = "324d7699-5711-5eae-9e2f-1d82baa6b597" diff --git a/src/RPrompt.jl b/src/RPrompt.jl index 457ecd56..eaa52c0f 100644 --- a/src/RPrompt.jl +++ b/src/RPrompt.jl @@ -156,7 +156,7 @@ function LineEdit.complete_line(c::RCompletionProvider, s) return ret, token, true end - return String[], 0:-1, false + return String[], "", false end function create_r_repl(repl, main)