diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2015-01-13 21:19:59 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2015-01-14 08:31:20 -0300 |
commit | 8596776bf68f0e95ba3ff7b5176ef62b56f37f47 (patch) | |
tree | 6b9c7e876cb29801e06f8cd97fd5e7ab7663e9fb /src/nvim/ui.c | |
parent | ea771ac559054c138cda58e68daeb286f5c80e80 (diff) | |
download | rneovim-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.c | 12 |
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'. |