{"action":"opened","issue":{"url":"https://api.github.com/repos/gizak/termui/issues/100","repository_url":"https://api.github.com/repos/gizak/termui","labels_url":"https://api.github.com/repos/gizak/termui/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/gizak/termui/issues/100/comments","events_url":"https://api.github.com/repos/gizak/termui/issues/100/events","html_url":"https://github.com/gizak/termui/issues/100","id":176456452,"number":100,"title":"termui.Close doesn't clean up everything and cause issue to re-init again after two or three times","user":{"login":"mehrdadrad","id":13306113,"avatar_url":"https://avatars.githubusercontent.com/u/13306113?v=3","gravatar_id":"","url":"https://api.github.com/users/mehrdadrad","html_url":"https://github.com/mehrdadrad","followers_url":"https://api.github.com/users/mehrdadrad/followers","following_url":"https://api.github.com/users/mehrdadrad/following{/other_user}","gists_url":"https://api.github.com/users/mehrdadrad/gists{/gist_id}","starred_url":"https://api.github.com/users/mehrdadrad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mehrdadrad/subscriptions","organizations_url":"https://api.github.com/users/mehrdadrad/orgs","repos_url":"https://api.github.com/users/mehrdadrad/repos","events_url":"https://api.github.com/users/mehrdadrad/events{/privacy}","received_events_url":"https://api.github.com/users/mehrdadrad/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-12T19:00:50Z","updated_at":"2016-09-12T19:00:50Z","closed_at":null,"body":"I noticed after two or three times try init and close then the init doesn't work properly! looks close doesn't revert everything as expected. I tried termbox-go directly (init and close sequentially) and it worked properly! \r\nIf you want to duplicate this issue try /_example/dashboard.go as below:\r\nchange main func to test func\r\ncreate new main func with multiple test function:\r\n`\r\nfunc main() {\r\n     for i := 0; i < 10; i++ {\r\n         test()\r\n     }\r\n}  \r\n`\r\nOnce you press \"q\" to see the next dashboard, you can see less than three instead of 10 as the rest will be gone!\r\n\r\n  "}}
{"actor":{"display_login":"mehrdadrad"}}