Skip to content

Conversation

@bobrippling
Copy link
Contributor

Before this commit, if a terminal buffer was visible in multiple windows, a :mksession would generate a script which would not "re-link" these terminal buffers, duplicating the command across the previously linked windows.

This commit looks handles a terminal buffer that's open in multiple windows, ensuring the buffer is shared between those windows when the session is restored.

@bobrippling bobrippling changed the title mksession: link between shared views into a buffer mksession: link between shared views into a terminal buffer Sep 10, 2020
@vim-ml
Copy link

vim-ml commented Sep 10, 2020 via email

@bobrippling
Copy link
Contributor Author

Sure - added

Copy link
Member

@k-takata k-takata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

coding style

Before this commit, if a terminal buffer was visible in multiple
windows, a `:mksession` would generate a script which would not
"re-link" these terminal buffers, duplicating the command across
the previously linked windows.

This commit handles a terminal buffer that's open in multiple
windows, ensuring the buffer is shared between those windows when
the session is restored.
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

Successfully merging this pull request may close these issues.

3 participants