mirror of
https://github.com/neovim/neovim.git
synced 2025-09-12 14:28:18 +00:00
ui: cleanup UI_CALL wrappers
remove pointless control chars in the text stream
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
#include <inttypes.h>
|
||||
|
||||
#include "nvim/api/private/handle.h"
|
||||
#include "nvim/api/private/helpers.h"
|
||||
#include "nvim/ascii.h"
|
||||
#include "nvim/assert.h"
|
||||
#include "nvim/vim.h"
|
||||
@@ -3001,13 +3002,13 @@ static bool ti_change(char_u *str, char_u **last)
|
||||
return false;
|
||||
}
|
||||
|
||||
/*
|
||||
* Put current window title back (used after calling a shell)
|
||||
*/
|
||||
|
||||
/// Set current window title
|
||||
void resettitle(void)
|
||||
{
|
||||
ui_set_title((char *)lasttitle);
|
||||
ui_set_icon((char *)lasticon);
|
||||
ui_call_set_title(cstr_as_string((char *)lasttitle));
|
||||
ui_call_set_icon(cstr_as_string((char *)lasticon));
|
||||
ui_flush();
|
||||
}
|
||||
|
||||
# if defined(EXITFREE)
|
||||
|
Reference in New Issue
Block a user