{"action":"created","issue":{"url":"https://api.github.com/repos/llakssz/CIAngel/issues/65","repository_url":"https://api.github.com/repos/llakssz/CIAngel","labels_url":"https://api.github.com/repos/llakssz/CIAngel/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/llakssz/CIAngel/issues/65/comments","events_url":"https://api.github.com/repos/llakssz/CIAngel/issues/65/events","html_url":"https://github.com/llakssz/CIAngel/issues/65","id":153535199,"number":65,"title":"Gratuitous use of gfxFlushBuffers creates flicker when typing in search.","user":{"login":"ksanislo","id":4238216,"avatar_url":"https://avatars.githubusercontent.com/u/4238216?v=3","gravatar_id":"","url":"https://api.github.com/users/ksanislo","html_url":"https://github.com/ksanislo","followers_url":"https://api.github.com/users/ksanislo/followers","following_url":"https://api.github.com/users/ksanislo/following{/other_user}","gists_url":"https://api.github.com/users/ksanislo/gists{/gist_id}","starred_url":"https://api.github.com/users/ksanislo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksanislo/subscriptions","organizations_url":"https://api.github.com/users/ksanislo/orgs","repos_url":"https://api.github.com/users/ksanislo/repos","events_url":"https://api.github.com/users/ksanislo/events{/privacy}","received_events_url":"https://api.github.com/users/ksanislo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-06T20:47:54Z","updated_at":"2016-05-08T22:51:58Z","closed_at":null,"body":"You probably don't need the gfxFlushBuffers() call in getInput() particularly when combined with the gspWaitForVBlank(), and it makes the screen flicker while you're typing a search... I'll fork and poke at this myself a bit later if someone else doesn't chime in with a proper way to rewrite the screen draw first."},"comment":{"url":"https://api.github.com/repos/llakssz/CIAngel/issues/comments/217751058","html_url":"https://github.com/llakssz/CIAngel/issues/65#issuecomment-217751058","issue_url":"https://api.github.com/repos/llakssz/CIAngel/issues/65","id":217751058,"user":{"login":"TheDgtl","id":565558,"avatar_url":"https://avatars.githubusercontent.com/u/565558?v=3","gravatar_id":"","url":"https://api.github.com/users/TheDgtl","html_url":"https://github.com/TheDgtl","followers_url":"https://api.github.com/users/TheDgtl/followers","following_url":"https://api.github.com/users/TheDgtl/following{/other_user}","gists_url":"https://api.github.com/users/TheDgtl/gists{/gist_id}","starred_url":"https://api.github.com/users/TheDgtl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TheDgtl/subscriptions","organizations_url":"https://api.github.com/users/TheDgtl/orgs","repos_url":"https://api.github.com/users/TheDgtl/repos","events_url":"https://api.github.com/users/TheDgtl/events{/privacy}","received_events_url":"https://api.github.com/users/TheDgtl/received_events","type":"User","site_admin":false},"created_at":"2016-05-08T22:51:58Z","updated_at":"2016-05-08T22:51:58Z","body":"My best guess as to why the flicker occurs is because we actually rewrite the entire user input line on each key press: https://github.com/llakssz/CIAngel/blob/master/source/main.cpp#L363\r\n\r\nIf it were the call to gfxFlushBuffers, you would see all text on the screen flicker, not just the user input line, most likely."}}