Skip to content

Narrow windows left after restart #309

@slavaGanzin

Description

@slavaGanzin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions