Hi,

On Thu, Sep 10, 2020 at 2:02 PM Rob Pilling <[email protected]>
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:
>
>   https://github.com/vim/vim/pull/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
>
>
>

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CAAW7x7kxDtOjxZUhfnoGtrdu%3DnAwBX_H7v7qCYHv076bD_O9VA%40mail.gmail.com.

Raspunde prin e-mail lui