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

Narrow windows left after restart #309

Open
slavaGanzin opened this issue Oct 25, 2019 · 0 comments
Open

Narrow windows left after restart #309

slavaGanzin opened this issue Oct 25, 2019 · 0 comments

Comments

@slavaGanzin
Copy link
Contributor

Hello.

Not closed narrow panes will reappear after restart or project load, and they are non operating: you can't use them as regular.

So I add this to my init file:

atom.packages.onDidActivatePackage (pack) ->
  Array.from(atom.textEditors.editors)
    .filter (e) -> e.getGrammar().name == 'Narrow'
    .map (x) -> x.destroy()

But I think narrow should close his panes on init. So I can make PR if you would merge.

Thanks

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