Skip to content
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

Up/down arrows not working properly with command history #49

Open
cmmp opened this issue Jul 21, 2013 · 4 comments
Open

Up/down arrows not working properly with command history #49

cmmp opened this issue Jul 21, 2013 · 4 comments

Comments

@cmmp
Copy link

cmmp commented Jul 21, 2013

I'm running OS X with julia 0.2.0-2695.rc5cd44281 and testing the debug package.

Creating a source file with:

using Debug

@debug function f(a,b)
    @bp
    a + b
end

f(1,2)

and running inside a julia prompt with include("test.jl"), if I type a to see a's value and then an up arrow to traverse the command history, I get:

debug:4> ^[[A

down arrow produces:

debug:4> ^[[B
@cmmp
Copy link
Author

cmmp commented Jul 28, 2013

can anyone confirm if it's just me or this is a bug?

thanks,
Cássio

@toivoh
Copy link
Owner

toivoh commented Jul 28, 2013

Sorry for the delay. No, I get this too, and I'm not sure what to do about it. All I do is to readline(STDIN). I believe that @loladiro has a REPL written in Julia in the works; eventually that might be plugged in instead.

@cmmp
Copy link
Author

cmmp commented Jul 28, 2013

Maybe this has something to do with processing the control characters, as control-f, etc, also produce this behavior. This really hurts the usability of the debug package, as every time one needs to input whole expressions again. But I'm not sure how to solve this either.

@john9631
Copy link

john9631 commented Nov 9, 2013

I solved the issue by copying (ctrl-shift-c) and pasting prior lines in my terminal.

Not ideal but enough for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants