mirror of
https://github.com/neovim/neovim.git
synced 2025-09-12 06:18:16 +00:00
ui: cleanup UI_CALL wrappers
remove pointless control chars in the text stream
This commit is contained in:
@@ -1952,15 +1952,7 @@ did_set_title (
|
||||
{
|
||||
if (starting != NO_SCREEN) {
|
||||
maketitle();
|
||||
if (icon) {
|
||||
if (!p_icon) {
|
||||
ui_set_icon(NULL);
|
||||
}
|
||||
} else {
|
||||
if (!p_title) {
|
||||
ui_set_title(NULL);
|
||||
}
|
||||
}
|
||||
resettitle();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3282,7 +3274,7 @@ did_set_string_option (
|
||||
|
||||
if (varp == &p_mouse) {
|
||||
if (*p_mouse == NUL) {
|
||||
ui_mouse_off();
|
||||
ui_call_mouse_off();
|
||||
} else {
|
||||
setmouse(); // in case 'mouse' changed
|
||||
}
|
||||
|
Reference in New Issue
Block a user