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

Prompt ghosts: it duplicates and moves! #47

Open
arichiardi opened this issue Mar 4, 2017 · 6 comments
Open

Prompt ghosts: it duplicates and moves! #47

arichiardi opened this issue Mar 4, 2017 · 6 comments

Comments

@arichiardi
Copy link
Contributor

arichiardi commented Mar 4, 2017

Expected behavior

I expect the prompt not to appear at all when it displays a result

Actual behavior

2017-03-03-161431_585x142_scrot

Steps to reproduce the problem

I don't have a consistent way yet, working on it

Environment & Version information

-

inf-clojure version information

latest master

Lein/Boot version

Lumo repl

Emacs version

24.5.1

Operating system

Ubuntu

Can and will debug sooner or later, not blocking for now, which is good 😉

@bbatsov
Copy link
Member

bbatsov commented Mar 4, 2017

That's not really a bug, but is an annoyance for sure. You pasted the code, so the subprompts for the 2 extra lines of code appear with the result.

At some point I thought we added some scrubbing code for those, but I might have only thought of adding it. Probably it'd be easiest to simply kill the subprompts completely. I think there was some config for this, but I don't remember it.

@bbatsov
Copy link
Member

bbatsov commented Mar 4, 2017

See also ff8dcd9

@arichiardi
Copy link
Contributor Author

I saw that comint has an accumulate feature, can it be useful for solving this? It is not really a priority for now anyways.

@bbatsov
Copy link
Member

bbatsov commented Mar 7, 2017

I saw that comint has an accumulate feature, can it be useful for solving this?

No idea what you mean by this.

@arichiardi
Copy link
Contributor Author

I was talking about this. I will try it.

@bbatsov
Copy link
Member

bbatsov commented Mar 7, 2017

Looks promising. I'm far from a comint-master, so I feel I'm learning here as much as you are. 😀

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

2 participants