{"action":"created","issue":{"url":"https://api.github.com/repos/jquast/blessed/issues/51","labels_url":"https://api.github.com/repos/jquast/blessed/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/jquast/blessed/issues/51/comments","events_url":"https://api.github.com/repos/jquast/blessed/issues/51/events","html_url":"https://github.com/jquast/blessed/issues/51","id":85316215,"number":51,"title":"Hint at correct use of term.clear() in the README","user":{"login":"S0lll0s","id":1731279,"avatar_url":"https://avatars.githubusercontent.com/u/1731279?v=3","gravatar_id":"","url":"https://api.github.com/users/S0lll0s","html_url":"https://github.com/S0lll0s","followers_url":"https://api.github.com/users/S0lll0s/followers","following_url":"https://api.github.com/users/S0lll0s/following{/other_user}","gists_url":"https://api.github.com/users/S0lll0s/gists{/gist_id}","starred_url":"https://api.github.com/users/S0lll0s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/S0lll0s/subscriptions","organizations_url":"https://api.github.com/users/S0lll0s/orgs","repos_url":"https://api.github.com/users/S0lll0s/repos","events_url":"https://api.github.com/users/S0lll0s/events{/privacy}","received_events_url":"https://api.github.com/users/S0lll0s/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-04T22:58:22Z","updated_at":"2015-06-05T01:53:47Z","closed_at":null,"body":"I'm creating a fullscreen GUI, this is my basic code:\r\n\r\n    from blessed import Terminal\r\n\r\n    term = Terminal()\r\n    def main():\r\n      while True:\r\n        term.clear()\r\n        term.move(0, 0)\r\n        print(\"----\")\r\n        print(\"-##-\")\r\n        print(\"----\")\r\n\r\n        key = term.inkey()\r\n        if key in (\"q\", \"Q\"):\r\n          break\r\n\r\n    with term.cbreak():\r\n      with term.fullscreen():\r\n        main()\r\n\r\nbut this doesn't work, it keeps writing below the last thing it printed instead of clearing the screen."},"comment":{"url":"https://api.github.com/repos/jquast/blessed/issues/comments/109123624","html_url":"https://github.com/jquast/blessed/issues/51#issuecomment-109123624","issue_url":"https://api.github.com/repos/jquast/blessed/issues/51","id":109123624,"user":{"login":"jquast","id":972584,"avatar_url":"https://avatars.githubusercontent.com/u/972584?v=3","gravatar_id":"","url":"https://api.github.com/users/jquast","html_url":"https://github.com/jquast","followers_url":"https://api.github.com/users/jquast/followers","following_url":"https://api.github.com/users/jquast/following{/other_user}","gists_url":"https://api.github.com/users/jquast/gists{/gist_id}","starred_url":"https://api.github.com/users/jquast/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jquast/subscriptions","organizations_url":"https://api.github.com/users/jquast/orgs","repos_url":"https://api.github.com/users/jquast/repos","events_url":"https://api.github.com/users/jquast/events{/privacy}","received_events_url":"https://api.github.com/users/jquast/received_events","type":"User","site_admin":false},"created_at":"2015-06-05T01:53:47Z","updated_at":"2015-06-05T01:53:47Z","body":"In an upcoming branch merge, we have only a single 1 page introductory example that will be displayed as the github README and the pypi description: https://github.com/erikrose/blessings/blob/blessed-integration/docs/intro.rst\r\n\r\nIf you can make any suggestions to this article in particular that would help, let us know"}}