-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
readline REPL can't handle more than ~500 character commands #4053
Comments
Seems to work for me on linux. |
I've had tons of problems in the past with the REPL being unable to process large blocks of text, so I can believe this might be a platform-specific problem. |
Ok, I think I've got a workaround for this. Turns out breaking it down into sub-500 chunks and then running works just fine (I was confused because it was working sometimes but sometimes doing the I'll close this as I don't know if there's really anything else that could be done. |
We're going to ditch the readline repl in favor of @loladiro's pure-Julia repl in the future in any case. |
Can't wait! |
Stdlib: Pkg URL: https://github.com/JuliaLang/Pkg.jl.git Stdlib branch: master Julia branch: master Old commit: 27c1b1ee5 New commit: 799dc2d54 Julia version: 1.12.0-DEV Pkg version: 1.12.0 Bump invoked by: @IanButterworth Powered by: [BumpStdlibs.jl](https://github.com/JuliaLang/BumpStdlibs.jl) Diff: JuliaLang/Pkg.jl@27c1b1e...799dc2d ``` $ git log --oneline 27c1b1ee5..799dc2d54 799dc2d54 REPLExt: use Base.isaccessibledir rather than isdir in completions (#4053) 3fde94ee9 REPLExt: run repl hint generation for modeswitch chars when not switching (#4054) ``` Co-authored-by: Dilum Aluthge <[email protected]>
…b6e99 (#56261) Stdlib: Pkg URL: https://github.com/JuliaLang/Pkg.jl.git Stdlib branch: release-1.11 Julia branch: backports-release-1.11 Old commit: aba90d22b New commit: 9438b6e99 Julia version: 1.11.1 Pkg version: 1.11.0(Does not match) Bump invoked by: @IanButterworth Powered by: [BumpStdlibs.jl](https://github.com/JuliaLang/BumpStdlibs.jl) Diff: JuliaLang/Pkg.jl@aba90d2...9438b6e ``` $ git log --oneline aba90d22b..9438b6e99 9438b6e99 Merge pull request #4055 from JuliaLang/backports-release-1.11 c83160aac REPLExt: use Base.isaccessibledir rather than isdir in completions (#4053) 7997ec320 REPLExt: run repl hint generation for modeswitch chars when not switching (#4054) ``` Co-authored-by: Dilum Aluthge <[email protected]>
Stdlib: Pkg URL: https://github.com/JuliaLang/Pkg.jl.git Stdlib branch: master Julia branch: master Old commit: 27c1b1ee5 New commit: 799dc2d54 Julia version: 1.12.0-DEV Pkg version: 1.12.0 Bump invoked by: @IanButterworth Powered by: [BumpStdlibs.jl](https://github.com/JuliaLang/BumpStdlibs.jl) Diff: JuliaLang/Pkg.jl@27c1b1e...799dc2d ``` $ git log --oneline 27c1b1ee5..799dc2d54 799dc2d54 REPLExt: use Base.isaccessibledir rather than isdir in completions (#4053) 3fde94ee9 REPLExt: run repl hint generation for modeswitch chars when not switching (#4054) ``` Co-authored-by: Dilum Aluthge <[email protected]>
I'm not sure if this is readline specific, or windows specific, or what, but I can't seem to get 500+ character commands to work. I didn't ever run into a problem using release-basic, but I'm trying to get release-readline support for Sublime-Julia and my tests keep failing. Even when trying to split the command into new lines of < 500 characters, it still barfs. Anyone have any insight on this?
An example where I try to create an array with 259 elements; even though I pasted a full command (note both brackets
[]
), it returns expecting additional input, and if I close with a bracket, it only returns a 253 element array.Now for the really weird part: I try to paste a few lines of 500+ characters and in between returns from readline, I get the output of
ls
?The text was updated successfully, but these errors were encountered: