{"action":"created","issue":{"url":"https://api.github.com/repos/vim-airline/vim-airline/issues/1144","repository_url":"https://api.github.com/repos/vim-airline/vim-airline","labels_url":"https://api.github.com/repos/vim-airline/vim-airline/issues/1144/labels{/name}","comments_url":"https://api.github.com/repos/vim-airline/vim-airline/issues/1144/comments","events_url":"https://api.github.com/repos/vim-airline/vim-airline/issues/1144/events","html_url":"https://github.com/vim-airline/vim-airline/issues/1144","id":151167885,"number":1144,"title":"Automatic truncation doesn't affect on window resize events.","user":{"login":"TomiCode","id":1648325,"avatar_url":"https://avatars.githubusercontent.com/u/1648325?v=3","gravatar_id":"","url":"https://api.github.com/users/TomiCode","html_url":"https://github.com/TomiCode","followers_url":"https://api.github.com/users/TomiCode/followers","following_url":"https://api.github.com/users/TomiCode/following{/other_user}","gists_url":"https://api.github.com/users/TomiCode/gists{/gist_id}","starred_url":"https://api.github.com/users/TomiCode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomiCode/subscriptions","organizations_url":"https://api.github.com/users/TomiCode/orgs","repos_url":"https://api.github.com/users/TomiCode/repos","events_url":"https://api.github.com/users/TomiCode/events{/privacy}","received_events_url":"https://api.github.com/users/TomiCode/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vim-airline/vim-airline/labels/in%20progress","name":"in progress","color":"eb6420"}],"state":"open","locked":false,"assignee":{"login":"chrisbra","id":244927,"avatar_url":"https://avatars.githubusercontent.com/u/244927?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisbra","html_url":"https://github.com/chrisbra","followers_url":"https://api.github.com/users/chrisbra/followers","following_url":"https://api.github.com/users/chrisbra/following{/other_user}","gists_url":"https://api.github.com/users/chrisbra/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisbra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisbra/subscriptions","organizations_url":"https://api.github.com/users/chrisbra/orgs","repos_url":"https://api.github.com/users/chrisbra/repos","events_url":"https://api.github.com/users/chrisbra/events{/privacy}","received_events_url":"https://api.github.com/users/chrisbra/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-04-26T15:37:19Z","updated_at":"2016-04-26T19:06:23Z","closed_at":null,"body":"#### environment\r\n\r\n- vim: VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Mar 30 2016 14:46:23)\r\n- vim-airline: Head, commit `81b58028f0131ae942fe81dceb6d40abf4f25b93`\r\n- OS: Arch Linux, 4.5.1-1-ARCH\r\n- occurs in vim and gVim\r\n\r\n#### actual behavior\r\n\r\nWhen I open a new gVim window next to my urxvt terminal, sections that shows file encoding and current branch are hidden (as expected). Next, when I close the urxvt window, those hidden sections don't show up automatically. \r\nThis problem occurs in both cases, when sections are shown - shrinking the window doesn't hide them.\r\n  \r\nAfter refreshing the status line with `:AirlineRefresh`, sections are updated accordingly to their truncation settings. \r\n\r\n#### screens\r\n![start_up_gvim](https://cloud.githubusercontent.com/assets/1648325/14823649/cc7dddd6-0bc2-11e6-85bb-8d7e62a10422.png)\r\n\r\n![full_sized_gvim](https://cloud.githubusercontent.com/assets/1648325/14823647/cc761b00-0bc2-11e6-8abe-743b3c501822.png)\r\n\r\n![after_command](https://cloud.githubusercontent.com/assets/1648325/14823646/cc716e70-0bc2-11e6-83fd-51020ee82f3b.png)\r\n\r\n![small_size](https://cloud.githubusercontent.com/assets/1648325/14823648/cc7d19c8-0bc2-11e6-82ea-eeb984bada17.png)\r\n"},"comment":{"url":"https://api.github.com/repos/vim-airline/vim-airline/issues/comments/214852125","html_url":"https://github.com/vim-airline/vim-airline/issues/1144#issuecomment-214852125","issue_url":"https://api.github.com/repos/vim-airline/vim-airline/issues/1144","id":214852125,"user":{"login":"chrisbra","id":244927,"avatar_url":"https://avatars.githubusercontent.com/u/244927?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisbra","html_url":"https://github.com/chrisbra","followers_url":"https://api.github.com/users/chrisbra/followers","following_url":"https://api.github.com/users/chrisbra/following{/other_user}","gists_url":"https://api.github.com/users/chrisbra/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisbra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisbra/subscriptions","organizations_url":"https://api.github.com/users/chrisbra/orgs","repos_url":"https://api.github.com/users/chrisbra/repos","events_url":"https://api.github.com/users/chrisbra/events{/privacy}","received_events_url":"https://api.github.com/users/chrisbra/received_events","type":"User","site_admin":false},"created_at":"2016-04-26T19:06:23Z","updated_at":"2016-04-26T19:06:23Z","body":"can you check, if #1145 fixes your issue?"}}