Files
neovim/runtime
Justin M. Keyes b9ad12e6c2 UI/nvim_ui_attach(): add override option
Before now, Nvim always degrades UI capabilities to the lowest-common
denominator. For example, if any connected UI has `ext_messages=false`
then `ext_messages=true` requested by any other connected UI is ignored.

Now `nvim_ui_attach()` supports `override=true`, which flips the
behavior: if any UI requests an `ext_*` UI capability then the
capability is enabled (and the legacy behavior is disabled).

Legacy UIs will be broken while a `override=true` UI is connected, but
it's useful for debugging: you can type into the TUI and observe the UI
events from another connected (UI) client. And the legacy UI will
"recover" after the `override=true` UI disconnects.

Example using pynvim:

    >>> n.ui_attach(2048, 2048, rgb=True, override=True, ext_multigrid=True, ext_messages=True, ext_popupmenu=True)
    >>> while True: n.next_message();
2019-05-09 22:27:41 +02:00
..
2018-10-29 23:55:45 +01:00
2019-02-06 22:18:34 +01:00
2018-10-28 14:18:21 +01:00
2017-11-07 01:16:42 +01:00
2014-12-19 15:28:49 -05:00
2018-01-15 23:58:52 +01:00
2018-10-29 09:32:29 +01:00
2019-01-04 02:17:23 +01:00
2016-04-16 23:06:24 -07:00
2018-10-29 23:54:15 +01:00
2018-10-29 09:50:08 +01:00
2017-01-31 02:02:09 +01:00
2014-07-29 02:12:31 +00:00
2018-10-28 14:05:14 +01:00
2017-11-07 23:07:03 +01:00