patch 8.0.0931: getwininfo() does not indicate a terminal window
Problem: getwininfo() does not indicate a terminal window.
Solution: Add "terminal" to the dictionary.
diff --git a/src/evalfunc.c b/src/evalfunc.c
index 1721e03..3d657f7 100644
--- a/src/evalfunc.c
+++ b/src/evalfunc.c
@@ -5228,6 +5228,9 @@
dict_add_nr_str(dict, "width", wp->w_width, NULL);
dict_add_nr_str(dict, "bufnr", wp->w_buffer->b_fnum, NULL);
+#ifdef FEAT_TERMINAL
+ dict_add_nr_str(dict, "terminal", bt_terminal(wp->w_buffer), NULL);
+#endif
#ifdef FEAT_QUICKFIX
dict_add_nr_str(dict, "quickfix", bt_quickfix(wp->w_buffer), NULL);
dict_add_nr_str(dict, "loclist",