aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ui.c
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2015-01-13 21:19:59 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2015-01-14 08:31:20 -0300
commit8596776bf68f0e95ba3ff7b5176ef62b56f37f47 (patch)
tree6b9c7e876cb29801e06f8cd97fd5e7ab7663e9fb /src/nvim/ui.c
parentea771ac559054c138cda58e68daeb286f5c80e80 (diff)
downloadrneovim-8596776bf68f0e95ba3ff7b5176ef62b56f37f47.tar.gz
rneovim-8596776bf68f0e95ba3ff7b5176ef62b56f37f47.tar.bz2
rneovim-8596776bf68f0e95ba3ff7b5176ef62b56f37f47.zip
ui: Implement set_{title,icon}
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'.