2017-07-30 0:27 GMT+03:00 Bram Moolenaar <[email protected]>:
>
> Christian wrote:
>
>> Hi,
>> running a terminal buffer and pressing CTRL-C disturbs the statusline
>> and the tabline. When running with vim-airline, I see this in the
>> statusline:
>>
>> airline#statusline(1) which is exactly, what the statusline option is
>> set to (minus the %!). Same holds for the tabline, it shows:
>> airline#extensions#tabline#get() which is what the 'tabline' option is
>> set to.
>
> Is there a way to see this without the plugin?

Just use

    vim -u NONE -i NONE -N --cmd 'let &stl="%!execute(\"sleep 10m\")"'
--cmd 'set ls=2'

and try `<C-c>` inside a terminal buffer and outside of it. I got
this: https://asciinema.org/a/uuuOZXgfDdZgheXXVaeteRcIA (also attached
as demo.json, for use with their terminal app).

>
>> Oh and CTRL-W CTRL-L does not seem to clear the messages. Or is this
>> supposed to work differently?
>
> CTRL-W CTRL-L moves the focus to the window on the right.
> Perhaps you want to use CTRL-W :redraw ?
>
> --
> You cannot propel yourself forward by patting yourself on the back.
>
>  /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
> ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
> \\\  an exciting new programming language -- http://www.Zimbu.org        ///
>  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
>
> --
> --
> 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].
> For more options, visit https://groups.google.com/d/optout.

-- 
-- 
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].
For more options, visit https://groups.google.com/d/optout.

Attachment: demo.json
Description: application/json

Raspunde prin e-mail lui