mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 05:58:33 +00:00
Remove RealWaitForChar
and mch_new_shellsize
The last occurrence of `RealWaitForChar` was replaced by the `os_microdelay` function. `mch_new_shellsize` had an empty body, so there seems to be no reason for keeping it around
This commit is contained in:
15
src/ui.c
15
src/ui.c
@@ -237,24 +237,11 @@ int ui_get_shellsize(void)
|
||||
* new size. If this is not possible, it will adjust Rows and Columns.
|
||||
*/
|
||||
void
|
||||
ui_set_shellsize (
|
||||
int mustset /* set by the user */
|
||||
)
|
||||
ui_set_shellsize(int mustset)
|
||||
{
|
||||
mch_set_shellsize();
|
||||
}
|
||||
|
||||
/*
|
||||
* Called when Rows and/or Columns changed. Adjust scroll region and mouse
|
||||
* region.
|
||||
*/
|
||||
void ui_new_shellsize(void)
|
||||
{
|
||||
if (full_screen && !exiting) {
|
||||
mch_new_shellsize();
|
||||
}
|
||||
}
|
||||
|
||||
void ui_breakcheck(void)
|
||||
{
|
||||
os_breakcheck();
|
||||
|
Reference in New Issue
Block a user