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

Customized REPL prompts don't interact nicely with Rebugger #49

Open
musm opened this issue Nov 1, 2018 · 0 comments
Open

Customized REPL prompts don't interact nicely with Rebugger #49

musm opened this issue Nov 1, 2018 · 0 comments

Comments

@musm
Copy link
Contributor

musm commented Nov 1, 2018

The following REPL customization ends up preventing Rebugger

import REPL
import Pkg
atreplinit() do repl
	Rebugger.repl_init

    repl.interface = REPL.setup_interface(repl)
    repl.interface.modes[1].prompt =  () -> begin
        str = Pkg.REPLMode.promptf()
        occursin(r"(v[0-9].[0-9])", str) ? "> " : str[1:end-6] * " > "
    end
end
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

1 participant