aboutsummaryrefslogtreecommitdiff
path: root/src/ui.c
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2014-04-05 11:54:00 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-06 11:43:23 -0300
commitdfb7d826ac5d9a4332a0f673ec3a6e7d69a27f1b (patch)
tree5965efffa5d576793717b8f905e38b0a6c431dc1 /src/ui.c
parentf8970e1c7c445c1cc18065902f77ea33b67cf050 (diff)
downloadrneovim-dfb7d826ac5d9a4332a0f673ec3a6e7d69a27f1b.tar.gz
rneovim-dfb7d826ac5d9a4332a0f673ec3a6e7d69a27f1b.tar.bz2
rneovim-dfb7d826ac5d9a4332a0f673ec3a6e7d69a27f1b.zip
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
Diffstat (limited to 'src/ui.c')
-rw-r--r--src/ui.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/ui.c b/src/ui.c
index d0116add27..60b9843fb1 100644
--- a/src/ui.c
+++ b/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();