{"action":"created","issue":{"url":"https://api.github.com/repos/neovim/neovim/issues/5434","repository_url":"https://api.github.com/repos/neovim/neovim","labels_url":"https://api.github.com/repos/neovim/neovim/issues/5434/labels{/name}","comments_url":"https://api.github.com/repos/neovim/neovim/issues/5434/comments","events_url":"https://api.github.com/repos/neovim/neovim/issues/5434/events","html_url":"https://github.com/neovim/neovim/issues/5434","id":181138939,"number":5434,"title":"nvim does not redraw its window after maximizing terminal","user":{"login":"hiqua","id":3812042,"avatar_url":"https://avatars.githubusercontent.com/u/3812042?v=3","gravatar_id":"","url":"https://api.github.com/users/hiqua","html_url":"https://github.com/hiqua","followers_url":"https://api.github.com/users/hiqua/followers","following_url":"https://api.github.com/users/hiqua/following{/other_user}","gists_url":"https://api.github.com/users/hiqua/gists{/gist_id}","starred_url":"https://api.github.com/users/hiqua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hiqua/subscriptions","organizations_url":"https://api.github.com/users/hiqua/orgs","repos_url":"https://api.github.com/users/hiqua/repos","events_url":"https://api.github.com/users/hiqua/events{/privacy}","received_events_url":"https://api.github.com/users/hiqua/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-05T12:27:08Z","updated_at":"2016-10-05T12:45:02Z","closed_at":null,"body":"- `nvim --version`:\r\nNVIM v0.1.6-182-gb1edc8a\r\nBuild type: Debug\r\nCompilation: /usr/bin/cc -Wconversion -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -DHAVE_CONFIG_H -D_GNU_SOURCE -I/home/hiq/code/repositories/neovim/build/config -I/home/hiq/code/repositories/neovim/src -I/home/hiq/code/repositories/neovim/.deps/usr/include -I/home/hiq/code/repositories/neovim/.deps/usr/include -I/home/hiq/code/repositories/neovim/.deps/usr/include -I/home/hiq/code/repositories/neovim/.deps/usr/include -I/home/hiq/code/repositories/neovim/.deps/usr/include -I/home/hiq/code/repositories/neovim/.deps/usr/include -I/usr/include -I/home/hiq/code/repositories/neovim/build/src/nvim/auto -I/home/hiq/code/repositories/neovim/build/include\r\nCompiled by hiq@hiq-lptp-deb\r\n\r\nOptional features included (+) or not (-): +acl   +iconv    +jemalloc +tui      \r\nFor differences from Vim, see :help vim-differences\r\n\r\n   system vimrc file: \"$VIM/sysinit.vim\"\r\n  fall-back for $VIM: \"/usr/local/share/nvim\"\r\n\r\n- Vim (version: ) behaves differently?\r\nYes, with:\r\nVIM - Vi IMproved 7.4 (2013 Aug 10, compiled Mar 31 2015 23:36:07)\r\nIncluded patches: 1-488, 576\r\n\r\n- Operating system/version:\r\nDebian Jessie\r\n- Terminal name/version:\r\nGNOME Terminal 3.14.1\r\n- `$TERM`:\r\nscreen-256color (with tmux)\r\nxterm (without tmux)\r\n\r\n### Actual behaviour\r\nnvim does not redraw itself automatically; instead it only fills the same amount of space, even though there is more available.\r\n\r\n### Expected behaviour\r\nThe vim window should redraw itself automatically and fill the whole terminal window.\r\n\r\n### Steps to reproduce using `nvim -u NORC`\r\nOpen a terminal window which is not maximized, then\r\n```\r\nnvim -u NORC $SOME_VERY_BIG_FILE\r\n```\r\nWhile the file is loading, maximize the window. Stop opening the file using CTRL-C (as far as I can tell it also works if I allow nvim to load the file, as long as I can maximize the window at the same time).\r\n\r\nI have had this bug with neovim for quite some time now. Using git-bisect, I found that commit @eb001a4abd2fbc740547c127807b2fc8367cc187 could be the culprit. The reason why I did not report it earlier is that I was unable to reproduce it, until I realized that lengthening the loading time by using a large file makes it easier.\r\n\r\nHere is a screenshot of what happens:\r\n![screenshot from 2016-10-05 13 39 23](https://cloud.githubusercontent.com/assets/3812042/19112779/0bb6fcb2-8b07-11e6-9007-7d2de7304b05.png)\r\n"},"comment":{"url":"https://api.github.com/repos/neovim/neovim/issues/comments/251663697","html_url":"https://github.com/neovim/neovim/issues/5434#issuecomment-251663697","issue_url":"https://api.github.com/repos/neovim/neovim/issues/5434","id":251663697,"user":{"login":"justinmk","id":1359421,"avatar_url":"https://avatars.githubusercontent.com/u/1359421?v=3","gravatar_id":"","url":"https://api.github.com/users/justinmk","html_url":"https://github.com/justinmk","followers_url":"https://api.github.com/users/justinmk/followers","following_url":"https://api.github.com/users/justinmk/following{/other_user}","gists_url":"https://api.github.com/users/justinmk/gists{/gist_id}","starred_url":"https://api.github.com/users/justinmk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinmk/subscriptions","organizations_url":"https://api.github.com/users/justinmk/orgs","repos_url":"https://api.github.com/users/justinmk/repos","events_url":"https://api.github.com/users/justinmk/events{/privacy}","received_events_url":"https://api.github.com/users/justinmk/received_events","type":"User","site_admin":false},"created_at":"2016-10-05T12:45:02Z","updated_at":"2016-10-05T12:45:02Z","body":"Thanks for adding repro insight which was lacking in https://github.com/neovim/neovim/issues/4884. \r\n"}}
{"actor":{"display_login":"justinmk"}}