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
..
2019-05-01 00:18:49 +02:00
2018-10-29 09:55:07 +01:00
2019-04-08 03:42:21 +02:00
2019-04-08 03:42:21 +02:00
2018-10-11 19:32:31 +02:00
2019-04-08 03:42:21 +02:00
2019-05-09 22:27:41 +02:00
2019-05-09 22:27:41 +02:00
2019-04-08 03:42:21 +02:00
2018-12-09 19:45:56 +02:00
2019-04-08 03:42:21 +02:00
2019-04-08 03:42:21 +02:00
2019-05-05 14:05:25 +02:00
2019-02-21 00:06:26 +01:00
2018-10-29 09:55:07 +01:00
2018-10-29 09:32:29 +01:00
2018-10-29 10:01:44 +01:00
2018-10-29 09:55:07 +01:00
2019-01-26 20:38:14 +01:00
2018-10-29 09:55:07 +01:00
2019-02-17 10:54:00 +01:00
2018-10-29 09:55:07 +01:00
2018-10-29 09:55:07 +01:00
2019-03-26 19:55:33 +01:00
2019-01-26 20:38:14 +01:00
2018-10-29 09:55:07 +01:00
2019-03-17 12:27:34 -04:00
2019-02-17 10:54:00 +01:00
2019-04-08 01:13:43 +02:00
2019-05-09 22:27:41 +02:00
2018-10-11 19:32:31 +02:00
2018-08-25 15:25:49 +02:00
2018-08-25 15:25:49 +02:00
2014-07-29 02:12:31 +00:00
2019-03-26 22:56:09 +01:00
2018-10-29 09:55:07 +01:00
2019-04-08 03:42:21 +02:00
2018-10-29 09:55:07 +01:00
2019-03-13 03:24:09 +01:00
2019-04-22 20:56:16 +02:00
2019-05-02 09:56:22 +02:00
2019-03-26 19:55:33 +01:00
2019-05-02 09:56:22 +02:00
2018-10-29 09:55:07 +01:00
2018-10-29 09:55:07 +01:00
2017-11-10 22:37:54 +01:00
2017-11-07 01:27:14 +01:00
2018-11-05 22:45:48 +01:00
2018-10-29 09:55:07 +01:00
2018-10-29 09:55:07 +01:00
2018-10-29 09:55:07 +01:00
2018-10-29 09:55:07 +01:00
2015-08-15 15:25:30 -03:00
2018-10-29 09:55:07 +01:00
2018-10-29 10:01:44 +01:00
2019-04-08 03:42:21 +02:00
2019-05-05 13:46:19 +02:00
2019-03-25 02:17:47 +01:00
2018-10-30 00:02:22 +01:00
2019-03-26 19:55:33 +01:00
2018-11-05 22:45:48 +01:00
2019-05-03 02:08:18 -04:00
2019-02-17 10:54:00 +01:00
2018-10-29 09:55:07 +01:00
2018-10-29 09:55:07 +01:00
2018-11-05 22:45:48 +01:00
2018-10-29 09:55:07 +01:00
2019-04-27 16:19:40 +02:00
2019-03-12 17:17:54 +01:00
2018-10-29 10:01:44 +01:00
2019-04-28 11:37:19 +01:00
2019-01-26 20:38:14 +01:00
2018-10-29 09:55:07 +01:00
2018-10-29 10:01:44 +01:00
2019-05-09 22:27:41 +02:00
2018-10-29 10:01:44 +01:00
2018-11-05 22:45:48 +01:00
2018-10-29 10:01:44 +01:00
2018-10-29 10:01:44 +01:00
2018-10-29 10:01:44 +01:00
2018-11-05 22:45:48 +01:00
2018-10-29 10:01:44 +01:00
2018-10-29 10:01:44 +01:00
2018-10-29 10:01:44 +01:00
2018-10-29 10:01:44 +01:00
2018-10-29 10:01:44 +01:00
2019-04-29 21:22:55 +02:00
2018-10-29 10:01:44 +01:00
2018-10-29 10:01:44 +01:00
2018-10-29 10:01:44 +01:00
2018-10-29 10:01:44 +01:00
2018-10-29 10:01:44 +01:00
2018-10-29 10:01:44 +01:00
2018-10-29 10:01:44 +01:00
2018-10-29 10:01:44 +01:00
2018-10-29 10:01:44 +01:00
2018-10-29 10:01:44 +01:00
2018-10-29 10:01:44 +01:00
2018-10-29 10:01:44 +01:00
2018-10-29 10:01:44 +01:00
2018-10-29 10:01:44 +01:00
2019-03-14 01:30:11 +01:00
2019-04-28 11:37:19 +01:00
2018-10-29 10:01:44 +01:00
2019-03-26 19:55:33 +01:00
2018-10-29 10:01:44 +01:00
2018-11-05 22:45:48 +01:00
2018-10-29 10:01:44 +01:00
2019-05-01 00:18:43 +02:00
2018-10-29 10:01:44 +01:00
2019-04-10 03:27:25 +02:00
2018-10-29 10:01:44 +01:00
2019-03-14 01:30:11 +01:00