| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Hi,
On Thu, Sep 10, 2020 at 2:02 PM Rob Pilling ***@***.***> wrote:
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.
Can you add a test for this change?
Thanks,
Yegappan
… ------------------------------
You can view, comment on, or merge this pull request online at:
#6930
Commit Summary
- mksession: link between shared views into a buffer
File Changes
- *M* src/hashtab.c
<https://github.com/vim/vim/pull/6930/files#diff-f66fb35fb2e2837513621ac04f3678eb>
(2)
- *M* src/proto/terminal.pro
<https://github.com/vim/vim/pull/6930/files#diff-f99bbf5901acfc552c426972aa73bc9e>
(2)
- *M* src/session.c
<https://github.com/vim/vim/pull/6930/files#diff-c4be88194b2ccabe7ff34fece6d27ca7>
(114)
- *M* src/terminal.c
<https://github.com/vim/vim/pull/6930/files#diff-f83301fc7928a73575f006ec59a872b6>
(32)
Patch Links:
- https://github.com/vim/vim/pull/6930.patch
- https://github.com/vim/vim/pull/6930.diff
|
Sorry, something went wrong.
|
Sure - added |
Sorry, something went wrong.
There was a problem hiding this comment.
coding style
Sorry, something went wrong.
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.
| Back | FazBrowse Home | New Git URL |
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.