{"action":"opened","issue":{"url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3839","repository_url":"https://api.github.com/repos/fish-shell/fish-shell","labels_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3839/labels{/name}","comments_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3839/comments","events_url":"https://api.github.com/repos/fish-shell/fish-shell/issues/3839/events","html_url":"https://github.com/fish-shell/fish-shell/issues/3839","id":206903492,"number":3839,"title":"Some ncurses programs not resizing on terminal size change","user":{"login":"ferreum","id":6669289,"avatar_url":"https://avatars.githubusercontent.com/u/6669289?v=3","gravatar_id":"","url":"https://api.github.com/users/ferreum","html_url":"https://github.com/ferreum","followers_url":"https://api.github.com/users/ferreum/followers","following_url":"https://api.github.com/users/ferreum/following{/other_user}","gists_url":"https://api.github.com/users/ferreum/gists{/gist_id}","starred_url":"https://api.github.com/users/ferreum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ferreum/subscriptions","organizations_url":"https://api.github.com/users/ferreum/orgs","repos_url":"https://api.github.com/users/ferreum/repos","events_url":"https://api.github.com/users/ferreum/events{/privacy}","received_events_url":"https://api.github.com/users/ferreum/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-10T20:52:06Z","updated_at":"2017-02-10T20:52:06Z","closed_at":null,"body":"- [Yes] Have you checked if problem occurs with [fish 2.5.0](/fish-shell/fish-shell/releases/tag/2.5.0)?\r\n- [Yes] Tried fish without third-party customizations *(check `sh -c 'env HOME=$(mktemp -d) fish'`)*?\r\n\r\n**fish version**: anything including and after commit 2be1288\r\n\r\n**terminal**: Tested in urxvt, xterm, tmux\r\n\r\n**affected applications**: ranger, ncdu\r\n\r\nI bisected this to commit 2be1288. From this commit on, the environment variables LINES and COLUMNS are exported by fish. Some ncurses programs seem to use these instead of the actual terminal size if they are set.\r\nThe programs work correctly when starting them with `env -uLINES -uCOLUMNS ranger`.\r\n\r\n## Reproduction steps\r\n1. start fish\r\n2. start ranger or ncdu\r\n3. resize the terminal\r\n\r\n## Results\r\nThe application repaints as if the size hadn't changed. This causes only a small area of the terminal being used (if the size was increased), or a chaotic screen (if the size was reduced)."}}
{"actor":{"display_login":"ferreum"}}