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

How to attach an event when Console is closed? #198

Open
mauricioszabo opened this issue May 2, 2019 · 2 comments
Open

How to attach an event when Console is closed? #198

mauricioszabo opened this issue May 2, 2019 · 2 comments

Comments

@mauricioszabo
Copy link
Contributor

Right now I'm using console.currentPane().onDidDestroy(...), but it's also emitting the signal to close the console when I drag it.

Is there a way to detect that the console was closed?

@pfitzseb
Copy link
Member

pfitzseb commented May 2, 2019

I don't think so, no.
Should be possible to provide a onDidDestroy listener though -- will look into it. Out of curiosity -- why do you need that?

@mauricioszabo
Copy link
Contributor Author

I'm developing an Atom plug-in (Chlorine, another idea on connecting Clojure to Atom) that connects console to a REPL. When I close the console I want to disconnect the REPL.

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