Mercurial > vim
diff src/proto/term.pro @ 5070:cf52d2a8c05c v7.3.1278
updated for version 7.3.1278
Problem: When someone sets the screen size to a huge value with "stty" Vim
runs out of memory before reducing the size.
Solution: Limit Rows and Columns in more places.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sun, 30 Jun 2013 17:51:51 +0200 |
parents | ecf21be84def |
children | 6d11572e2c8b |
line wrap: on
line diff
--- a/src/proto/term.pro +++ b/src/proto/term.pro @@ -26,6 +26,7 @@ void term_settitle __ARGS((char_u *title void ttest __ARGS((int pairs)); void add_long_to_buf __ARGS((long_u val, char_u *dst)); void check_shellsize __ARGS((void)); +void limit_screen_size __ARGS((void)); void win_new_shellsize __ARGS((void)); void shell_resized __ARGS((void)); void shell_resized_check __ARGS((void));