{"action":"created","comment":{"url":"https://api.github.com/repos/mslchaos/cLearn/pulls/comments/170620951","pull_request_review_id":99333400,"id":170620951,"diff_hunk":"@@ -2,8 +2,36 @@\n #include <stdio.h>\n #include <unistd.h>\n #include <pthread.h>\n-\n-\n+#include <termios.h>\n+\n+struct termios term; \n+ \n+void disableTerminalEcho () { \n+  // define a terminal configuration data structure \n+ \n+  // copy the stdin terminal configuration into term \n+  tcgetattr( fileno(stdin), &term ); ","path":"main.c","position":null,"original_position":14,"commit_id":"3677eaaf136f141db780a1d1051320233b7e9be5","original_commit_id":"4c48c15619d762ca42f70620aa51484ee9991382","user":{"login":"mslchaos","id":8224619,"avatar_url":"https://avatars1.githubusercontent.com/u/8224619?v=4","gravatar_id":"","url":"https://api.github.com/users/mslchaos","html_url":"https://github.com/mslchaos","followers_url":"https://api.github.com/users/mslchaos/followers","following_url":"https://api.github.com/users/mslchaos/following{/other_user}","gists_url":"https://api.github.com/users/mslchaos/gists{/gist_id}","starred_url":"https://api.github.com/users/mslchaos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mslchaos/subscriptions","organizations_url":"https://api.github.com/users/mslchaos/orgs","repos_url":"https://api.github.com/users/mslchaos/repos","events_url":"https://api.github.com/users/mslchaos/events{/privacy}","received_events_url":"https://api.github.com/users/mslchaos/received_events","type":"User","site_admin":false},"body":"@ikakok Done","created_at":"2018-02-26T15:06:49Z","updated_at":"2018-02-26T15:06:49Z","html_url":"https://github.com/mslchaos/cLearn/pull/2#discussion_r170620951","pull_request_url":"https://api.github.com/repos/mslchaos/cLearn/pulls/2","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/mslchaos/cLearn/pulls/comments/170620951"},"html":{"href":"https://github.com/mslchaos/cLearn/pull/2#discussion_r170620951"},"pull_request":{"href":"https://api.github.com/repos/mslchaos/cLearn/pulls/2"}},"in_reply_to_id":170618886},"pull_request":{"url":"https://api.github.com/repos/mslchaos/cLearn/pulls/2","id":170740928,"html_url":"https://github.com/mslchaos/cLearn/pull/2","diff_url":"https://github.com/mslchaos/cLearn/pull/2.diff","patch_url":"https://github.com/mslchaos/cLearn/pull/2.patch","issue_url":"https://api.github.com/repos/mslchaos/cLearn/issues/2","number":2,"state":"open","locked":false,"title":"Adds simple matrix processing","user":{"login":"mslchaos","id":8224619,"avatar_url":"https://avatars1.githubusercontent.com/u/8224619?v=4","gravatar_id":"","url":"https://api.github.com/users/mslchaos","html_url":"https://github.com/mslchaos","followers_url":"https://api.github.com/users/mslchaos/followers","following_url":"https://api.github.com/users/mslchaos/following{/other_user}","gists_url":"https://api.github.com/users/mslchaos/gists{/gist_id}","starred_url":"https://api.github.com/users/mslchaos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mslchaos/subscriptions","organizations_url":"https://api.github.com/users/mslchaos/orgs","repos_url":"https://api.github.com/users/mslchaos/repos","events_url":"https://api.github.com/users/mslchaos/events{/privacy}","received_events_url":"https://api.github.com/users/mslchaos/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-22T12:48:13Z","updated_at":"2018-02-26T15:06:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c527054edceda37f183d74962929b3d1da4ce067","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mslchaos/cLearn/pulls/2/commits","review_comments_url":"https://api.github.com/repos/mslchaos/cLearn/pulls/2/comments","review_comment_url":"https://api.github.com/repos/mslchaos/cLearn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mslchaos/cLearn/issues/2/comments","statuses_url":"https://api.github.com/repos/mslchaos/cLearn/statuses/3677eaaf136f141db780a1d1051320233b7e9be5","head":{"label":"mslchaos:feature/progress-bar-c-term-v2.0","ref":"feature/progress-bar-c-term-v2.0","sha":"3677eaaf136f141db780a1d1051320233b7e9be5","user":{"login":"mslchaos","id":8224619,"avatar_url":"https://avatars1.githubusercontent.com/u/8224619?v=4","gravatar_id":"","url":"https://api.github.com/users/mslchaos","html_url":"https://github.com/mslchaos","followers_url":"https://api.github.com/users/mslchaos/followers","following_url":"https://api.github.com/users/mslchaos/following{/other_user}","gists_url":"https://api.github.com/users/mslchaos/gists{/gist_id}","starred_url":"https://api.github.com/users/mslchaos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mslchaos/subscriptions","organizations_url":"https://api.github.com/users/mslchaos/orgs","repos_url":"https://api.github.com/users/mslchaos/repos","events_url":"https://api.github.com/users/mslchaos/events{/privacy}","received_events_url":"https://api.github.com/users/mslchaos/received_events","type":"User","site_admin":false},"repo":{"id":121506338,"name":"cLearn","full_name":"mslchaos/cLearn","owner":{"login":"mslchaos","id":8224619,"avatar_url":"https://avatars1.githubusercontent.com/u/8224619?v=4","gravatar_id":"","url":"https://api.github.com/users/mslchaos","html_url":"https://github.com/mslchaos","followers_url":"https://api.github.com/users/mslchaos/followers","following_url":"https://api.github.com/users/mslchaos/following{/other_user}","gists_url":"https://api.github.com/users/mslchaos/gists{/gist_id}","starred_url":"https://api.github.com/users/mslchaos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mslchaos/subscriptions","organizations_url":"https://api.github.com/users/mslchaos/orgs","repos_url":"https://api.github.com/users/mslchaos/repos","events_url":"https://api.github.com/users/mslchaos/events{/privacy}","received_events_url":"https://api.github.com/users/mslchaos/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mslchaos/cLearn","description":null,"fork":false,"url":"https://api.github.com/repos/mslchaos/cLearn","forks_url":"https://api.github.com/repos/mslchaos/cLearn/forks","keys_url":"https://api.github.com/repos/mslchaos/cLearn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mslchaos/cLearn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mslchaos/cLearn/teams","hooks_url":"https://api.github.com/repos/mslchaos/cLearn/hooks","issue_events_url":"https://api.github.com/repos/mslchaos/cLearn/issues/events{/number}","events_url":"https://api.github.com/repos/mslchaos/cLearn/events","assignees_url":"https://api.github.com/repos/mslchaos/cLearn/assignees{/user}","branches_url":"https://api.github.com/repos/mslchaos/cLearn/branches{/branch}","tags_url":"https://api.github.com/repos/mslchaos/cLearn/tags","blobs_url":"https://api.github.com/repos/mslchaos/cLearn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mslchaos/cLearn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mslchaos/cLearn/git/refs{/sha}","trees_url":"https://api.github.com/repos/mslchaos/cLearn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mslchaos/cLearn/statuses/{sha}","languages_url":"https://api.github.com/repos/mslchaos/cLearn/languages","stargazers_url":"https://api.github.com/repos/mslchaos/cLearn/stargazers","contributors_url":"https://api.github.com/repos/mslchaos/cLearn/contributors","subscribers_url":"https://api.github.com/repos/mslchaos/cLearn/subscribers","subscription_url":"https://api.github.com/repos/mslchaos/cLearn/subscription","commits_url":"https://api.github.com/repos/mslchaos/cLearn/commits{/sha}","git_commits_url":"https://api.github.com/repos/mslchaos/cLearn/git/commits{/sha}","comments_url":"https://api.github.com/repos/mslchaos/cLearn/comments{/number}","issue_comment_url":"https://api.github.com/repos/mslchaos/cLearn/issues/comments{/number}","contents_url":"https://api.github.com/repos/mslchaos/cLearn/contents/{+path}","compare_url":"https://api.github.com/repos/mslchaos/cLearn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mslchaos/cLearn/merges","archive_url":"https://api.github.com/repos/mslchaos/cLearn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mslchaos/cLearn/downloads","issues_url":"https://api.github.com/repos/mslchaos/cLearn/issues{/number}","pulls_url":"https://api.github.com/repos/mslchaos/cLearn/pulls{/number}","milestones_url":"https://api.github.com/repos/mslchaos/cLearn/milestones{/number}","notifications_url":"https://api.github.com/repos/mslchaos/cLearn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mslchaos/cLearn/labels{/name}","releases_url":"https://api.github.com/repos/mslchaos/cLearn/releases{/id}","deployments_url":"https://api.github.com/repos/mslchaos/cLearn/deployments","created_at":"2018-02-14T12:05:00Z","updated_at":"2018-02-14T12:13:24Z","pushed_at":"2018-02-26T15:06:10Z","git_url":"git://github.com/mslchaos/cLearn.git","ssh_url":"git@github.com:mslchaos/cLearn.git","clone_url":"https://github.com/mslchaos/cLearn.git","svn_url":"https://github.com/mslchaos/cLearn","homepage":null,"size":3,"stargazers_count":1,"watchers_count":1,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"mslchaos:master","ref":"master","sha":"6de0e9f9d14f6880b286d2d4655b1a53bba64bb2","user":{"login":"mslchaos","id":8224619,"avatar_url":"https://avatars1.githubusercontent.com/u/8224619?v=4","gravatar_id":"","url":"https://api.github.com/users/mslchaos","html_url":"https://github.com/mslchaos","followers_url":"https://api.github.com/users/mslchaos/followers","following_url":"https://api.github.com/users/mslchaos/following{/other_user}","gists_url":"https://api.github.com/users/mslchaos/gists{/gist_id}","starred_url":"https://api.github.com/users/mslchaos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mslchaos/subscriptions","organizations_url":"https://api.github.com/users/mslchaos/orgs","repos_url":"https://api.github.com/users/mslchaos/repos","events_url":"https://api.github.com/users/mslchaos/events{/privacy}","received_events_url":"https://api.github.com/users/mslchaos/received_events","type":"User","site_admin":false},"repo":{"id":121506338,"name":"cLearn","full_name":"mslchaos/cLearn","owner":{"login":"mslchaos","id":8224619,"avatar_url":"https://avatars1.githubusercontent.com/u/8224619?v=4","gravatar_id":"","url":"https://api.github.com/users/mslchaos","html_url":"https://github.com/mslchaos","followers_url":"https://api.github.com/users/mslchaos/followers","following_url":"https://api.github.com/users/mslchaos/following{/other_user}","gists_url":"https://api.github.com/users/mslchaos/gists{/gist_id}","starred_url":"https://api.github.com/users/mslchaos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mslchaos/subscriptions","organizations_url":"https://api.github.com/users/mslchaos/orgs","repos_url":"https://api.github.com/users/mslchaos/repos","events_url":"https://api.github.com/users/mslchaos/events{/privacy}","received_events_url":"https://api.github.com/users/mslchaos/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mslchaos/cLearn","description":null,"fork":false,"url":"https://api.github.com/repos/mslchaos/cLearn","forks_url":"https://api.github.com/repos/mslchaos/cLearn/forks","keys_url":"https://api.github.com/repos/mslchaos/cLearn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mslchaos/cLearn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mslchaos/cLearn/teams","hooks_url":"https://api.github.com/repos/mslchaos/cLearn/hooks","issue_events_url":"https://api.github.com/repos/mslchaos/cLearn/issues/events{/number}","events_url":"https://api.github.com/repos/mslchaos/cLearn/events","assignees_url":"https://api.github.com/repos/mslchaos/cLearn/assignees{/user}","branches_url":"https://api.github.com/repos/mslchaos/cLearn/branches{/branch}","tags_url":"https://api.github.com/repos/mslchaos/cLearn/tags","blobs_url":"https://api.github.com/repos/mslchaos/cLearn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mslchaos/cLearn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mslchaos/cLearn/git/refs{/sha}","trees_url":"https://api.github.com/repos/mslchaos/cLearn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mslchaos/cLearn/statuses/{sha}","languages_url":"https://api.github.com/repos/mslchaos/cLearn/languages","stargazers_url":"https://api.github.com/repos/mslchaos/cLearn/stargazers","contributors_url":"https://api.github.com/repos/mslchaos/cLearn/contributors","subscribers_url":"https://api.github.com/repos/mslchaos/cLearn/subscribers","subscription_url":"https://api.github.com/repos/mslchaos/cLearn/subscription","commits_url":"https://api.github.com/repos/mslchaos/cLearn/commits{/sha}","git_commits_url":"https://api.github.com/repos/mslchaos/cLearn/git/commits{/sha}","comments_url":"https://api.github.com/repos/mslchaos/cLearn/comments{/number}","issue_comment_url":"https://api.github.com/repos/mslchaos/cLearn/issues/comments{/number}","contents_url":"https://api.github.com/repos/mslchaos/cLearn/contents/{+path}","compare_url":"https://api.github.com/repos/mslchaos/cLearn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mslchaos/cLearn/merges","archive_url":"https://api.github.com/repos/mslchaos/cLearn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mslchaos/cLearn/downloads","issues_url":"https://api.github.com/repos/mslchaos/cLearn/issues{/number}","pulls_url":"https://api.github.com/repos/mslchaos/cLearn/pulls{/number}","milestones_url":"https://api.github.com/repos/mslchaos/cLearn/milestones{/number}","notifications_url":"https://api.github.com/repos/mslchaos/cLearn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mslchaos/cLearn/labels{/name}","releases_url":"https://api.github.com/repos/mslchaos/cLearn/releases{/id}","deployments_url":"https://api.github.com/repos/mslchaos/cLearn/deployments","created_at":"2018-02-14T12:05:00Z","updated_at":"2018-02-14T12:13:24Z","pushed_at":"2018-02-26T15:06:10Z","git_url":"git://github.com/mslchaos/cLearn.git","ssh_url":"git@github.com:mslchaos/cLearn.git","clone_url":"https://github.com/mslchaos/cLearn.git","svn_url":"https://github.com/mslchaos/cLearn","homepage":null,"size":3,"stargazers_count":1,"watchers_count":1,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mslchaos/cLearn/pulls/2"},"html":{"href":"https://github.com/mslchaos/cLearn/pull/2"},"issue":{"href":"https://api.github.com/repos/mslchaos/cLearn/issues/2"},"comments":{"href":"https://api.github.com/repos/mslchaos/cLearn/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/mslchaos/cLearn/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/mslchaos/cLearn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mslchaos/cLearn/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/mslchaos/cLearn/statuses/3677eaaf136f141db780a1d1051320233b7e9be5"}},"author_association":"OWNER"}}
{"actor":{"display_login":"mslchaos"}}