aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/ui.c')
-rw-r--r--src/nvim/ui.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/nvim/ui.c b/src/nvim/ui.c
index d13c7e5feb..a8ca58d633 100644
--- a/src/nvim/ui.c
+++ b/src/nvim/ui.c
@@ -139,6 +139,18 @@ void ui_suspend(void)
}
}
+void ui_set_title(char *title)
+{
+ UI_CALL(set_title, title);
+ UI_CALL(flush);
+}
+
+void ui_set_icon(char *icon)
+{
+ UI_CALL(set_icon, icon);
+ UI_CALL(flush);
+}
+
/*
* Try to get the current Vim shell size. Put the result in Rows and Columns.
* Use the new sizes as defaults for 'columns' and 'lines'.