Skip to content

mksession: link between shared views into a terminal buffer - #6930

Closed
bobrippling wants to merge 1 commit into
vim:masterfrom
bobrippling:fix/mks-term
Closed

mksession: link between shared views into a terminal buffer#6930
bobrippling wants to merge 1 commit into
vim:masterfrom
bobrippling:fix/mks-term

Conversation

@bobrippling

Copy link
Copy Markdown
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 Sep 10, 2020
@vim-ml

vim-ml commented Sep 10, 2020 via email

Copy link
Copy Markdown
@bobrippling

Copy link
Copy Markdown
Contributor Author

Sure - added

@k-takata k-takata left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

coding style

Comment thread src/terminal.c Outdated
Comment thread src/terminal.c Outdated
Comment thread src/terminal.c Outdated
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

3 participants