{"action":"created","comment":{"url":"https://api.github.com/repos/KSP-KOS/KSLib/pulls/comments/29105169","id":29105169,"diff_hunk":"@@ -0,0 +1,43 @@\n+run lib_window_number_dialog.\n+run lib_window_vessel_stats.\n+run lib_window_menu.\n+run lib_process.\n+\n+clearscreen.\n+ag1 off.","path":"examples/example_lib_window.ks","position":7,"original_position":7,"commit_id":"5746776fb59d32d4fc739b36de2b5e443fa6f325","original_commit_id":"5746776fb59d32d4fc739b36de2b5e443fa6f325","user":{"login":"akrasuski1","id":5507813,"avatar_url":"https://avatars.githubusercontent.com/u/5507813?v=3","gravatar_id":"","url":"https://api.github.com/users/akrasuski1","html_url":"https://github.com/akrasuski1","followers_url":"https://api.github.com/users/akrasuski1/followers","following_url":"https://api.github.com/users/akrasuski1/following{/other_user}","gists_url":"https://api.github.com/users/akrasuski1/gists{/gist_id}","starred_url":"https://api.github.com/users/akrasuski1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akrasuski1/subscriptions","organizations_url":"https://api.github.com/users/akrasuski1/orgs","repos_url":"https://api.github.com/users/akrasuski1/repos","events_url":"https://api.github.com/users/akrasuski1/events{/privacy}","received_events_url":"https://api.github.com/users/akrasuski1/received_events","type":"User","site_admin":false},"body":"For debugging and demonstrating purposes, the right window can be closed by turning ag1 on (there is an info on terminal screen). To prevent itr from closing immediately, I turn ag1 off in the beginning.","created_at":"2015-04-25T23:31:39Z","updated_at":"2015-04-25T23:31:39Z","html_url":"https://github.com/KSP-KOS/KSLib/pull/34#discussion_r29105169","pull_request_url":"https://api.github.com/repos/KSP-KOS/KSLib/pulls/34","_links":{"self":{"href":"https://api.github.com/repos/KSP-KOS/KSLib/pulls/comments/29105169"},"html":{"href":"https://github.com/KSP-KOS/KSLib/pull/34#discussion_r29105169"},"pull_request":{"href":"https://api.github.com/repos/KSP-KOS/KSLib/pulls/34"}}},"pull_request":{"url":"https://api.github.com/repos/KSP-KOS/KSLib/pulls/34","id":34114347,"html_url":"https://github.com/KSP-KOS/KSLib/pull/34","diff_url":"https://github.com/KSP-KOS/KSLib/pull/34.diff","patch_url":"https://github.com/KSP-KOS/KSLib/pull/34.patch","issue_url":"https://api.github.com/repos/KSP-KOS/KSLib/issues/34","number":34,"state":"open","locked":false,"title":"Windows.","user":{"login":"akrasuski1","id":5507813,"avatar_url":"https://avatars.githubusercontent.com/u/5507813?v=3","gravatar_id":"","url":"https://api.github.com/users/akrasuski1","html_url":"https://github.com/akrasuski1","followers_url":"https://api.github.com/users/akrasuski1/followers","following_url":"https://api.github.com/users/akrasuski1/following{/other_user}","gists_url":"https://api.github.com/users/akrasuski1/gists{/gist_id}","starred_url":"https://api.github.com/users/akrasuski1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akrasuski1/subscriptions","organizations_url":"https://api.github.com/users/akrasuski1/orgs","repos_url":"https://api.github.com/users/akrasuski1/repos","events_url":"https://api.github.com/users/akrasuski1/events{/privacy}","received_events_url":"https://api.github.com/users/akrasuski1/received_events","type":"User","site_admin":false},"body":"These files are a basic window and parallel processing system. Core functionality is in lib_window.ks and lib_process.ks, and the other three files are just examples of windows created with my API (two of them are ports of other KSLib files). Thanks to this lib, you can for example show stats on the screen, and in the other \"window\", say on the right side, ask for a command - change apoapsis, for instance. Example is given in example file.\r\n\r\nNext thing I'm going to do is full blown OS, with the ability to select programs by the user, and not them being hardcoded in file. If the library is accepted, I will also write a document for other developers with assumptions and internal working of the library, so that they can write their own modules.\r\n\r\nThere is a dependency - lib_exec is needed for it to function. Also, in the vessel_stats window I use compass heading from the navball library. It can be safely deleted though, if you don't need it.","created_at":"2015-04-25T22:35:07Z","updated_at":"2015-04-25T23:31:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"86b62daa1c05dc6f0242600cc08e5342e2ce0dd6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/KSP-KOS/KSLib/pulls/34/commits","review_comments_url":"https://api.github.com/repos/KSP-KOS/KSLib/pulls/34/comments","review_comment_url":"https://api.github.com/repos/KSP-KOS/KSLib/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KSP-KOS/KSLib/issues/34/comments","statuses_url":"https://api.github.com/repos/KSP-KOS/KSLib/statuses/5746776fb59d32d4fc739b36de2b5e443fa6f325","head":{"label":"akrasuski1:windows","ref":"windows","sha":"5746776fb59d32d4fc739b36de2b5e443fa6f325","user":{"login":"akrasuski1","id":5507813,"avatar_url":"https://avatars.githubusercontent.com/u/5507813?v=3","gravatar_id":"","url":"https://api.github.com/users/akrasuski1","html_url":"https://github.com/akrasuski1","followers_url":"https://api.github.com/users/akrasuski1/followers","following_url":"https://api.github.com/users/akrasuski1/following{/other_user}","gists_url":"https://api.github.com/users/akrasuski1/gists{/gist_id}","starred_url":"https://api.github.com/users/akrasuski1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akrasuski1/subscriptions","organizations_url":"https://api.github.com/users/akrasuski1/orgs","repos_url":"https://api.github.com/users/akrasuski1/repos","events_url":"https://api.github.com/users/akrasuski1/events{/privacy}","received_events_url":"https://api.github.com/users/akrasuski1/received_events","type":"User","site_admin":false},"repo":{"id":34542281,"name":"KSLib","full_name":"akrasuski1/KSLib","owner":{"login":"akrasuski1","id":5507813,"avatar_url":"https://avatars.githubusercontent.com/u/5507813?v=3","gravatar_id":"","url":"https://api.github.com/users/akrasuski1","html_url":"https://github.com/akrasuski1","followers_url":"https://api.github.com/users/akrasuski1/followers","following_url":"https://api.github.com/users/akrasuski1/following{/other_user}","gists_url":"https://api.github.com/users/akrasuski1/gists{/gist_id}","starred_url":"https://api.github.com/users/akrasuski1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akrasuski1/subscriptions","organizations_url":"https://api.github.com/users/akrasuski1/orgs","repos_url":"https://api.github.com/users/akrasuski1/repos","events_url":"https://api.github.com/users/akrasuski1/events{/privacy}","received_events_url":"https://api.github.com/users/akrasuski1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/akrasuski1/KSLib","description":"The standard library and examples for the Kerboscript language ","fork":true,"url":"https://api.github.com/repos/akrasuski1/KSLib","forks_url":"https://api.github.com/repos/akrasuski1/KSLib/forks","keys_url":"https://api.github.com/repos/akrasuski1/KSLib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/akrasuski1/KSLib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/akrasuski1/KSLib/teams","hooks_url":"https://api.github.com/repos/akrasuski1/KSLib/hooks","issue_events_url":"https://api.github.com/repos/akrasuski1/KSLib/issues/events{/number}","events_url":"https://api.github.com/repos/akrasuski1/KSLib/events","assignees_url":"https://api.github.com/repos/akrasuski1/KSLib/assignees{/user}","branches_url":"https://api.github.com/repos/akrasuski1/KSLib/branches{/branch}","tags_url":"https://api.github.com/repos/akrasuski1/KSLib/tags","blobs_url":"https://api.github.com/repos/akrasuski1/KSLib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/akrasuski1/KSLib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/akrasuski1/KSLib/git/refs{/sha}","trees_url":"https://api.github.com/repos/akrasuski1/KSLib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/akrasuski1/KSLib/statuses/{sha}","languages_url":"https://api.github.com/repos/akrasuski1/KSLib/languages","stargazers_url":"https://api.github.com/repos/akrasuski1/KSLib/stargazers","contributors_url":"https://api.github.com/repos/akrasuski1/KSLib/contributors","subscribers_url":"https://api.github.com/repos/akrasuski1/KSLib/subscribers","subscription_url":"https://api.github.com/repos/akrasuski1/KSLib/subscription","commits_url":"https://api.github.com/repos/akrasuski1/KSLib/commits{/sha}","git_commits_url":"https://api.github.com/repos/akrasuski1/KSLib/git/commits{/sha}","comments_url":"https://api.github.com/repos/akrasuski1/KSLib/comments{/number}","issue_comment_url":"https://api.github.com/repos/akrasuski1/KSLib/issues/comments{/number}","contents_url":"https://api.github.com/repos/akrasuski1/KSLib/contents/{+path}","compare_url":"https://api.github.com/repos/akrasuski1/KSLib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/akrasuski1/KSLib/merges","archive_url":"https://api.github.com/repos/akrasuski1/KSLib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/akrasuski1/KSLib/downloads","issues_url":"https://api.github.com/repos/akrasuski1/KSLib/issues{/number}","pulls_url":"https://api.github.com/repos/akrasuski1/KSLib/pulls{/number}","milestones_url":"https://api.github.com/repos/akrasuski1/KSLib/milestones{/number}","notifications_url":"https://api.github.com/repos/akrasuski1/KSLib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/akrasuski1/KSLib/labels{/name}","releases_url":"https://api.github.com/repos/akrasuski1/KSLib/releases{/id}","created_at":"2015-04-24T21:16:03Z","updated_at":"2015-04-21T22:02:26Z","pushed_at":"2015-04-25T23:04:14Z","git_url":"git://github.com/akrasuski1/KSLib.git","ssh_url":"git@github.com:akrasuski1/KSLib.git","clone_url":"https://github.com/akrasuski1/KSLib.git","svn_url":"https://github.com/akrasuski1/KSLib","homepage":null,"size":309,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"KSP-KOS:master","ref":"master","sha":"c3d79b76839ac024f121d1bbf24b6ebf7f3f66ac","user":{"login":"KSP-KOS","id":6767371,"avatar_url":"https://avatars.githubusercontent.com/u/6767371?v=3","gravatar_id":"","url":"https://api.github.com/users/KSP-KOS","html_url":"https://github.com/KSP-KOS","followers_url":"https://api.github.com/users/KSP-KOS/followers","following_url":"https://api.github.com/users/KSP-KOS/following{/other_user}","gists_url":"https://api.github.com/users/KSP-KOS/gists{/gist_id}","starred_url":"https://api.github.com/users/KSP-KOS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KSP-KOS/subscriptions","organizations_url":"https://api.github.com/users/KSP-KOS/orgs","repos_url":"https://api.github.com/users/KSP-KOS/repos","events_url":"https://api.github.com/users/KSP-KOS/events{/privacy}","received_events_url":"https://api.github.com/users/KSP-KOS/received_events","type":"Organization","site_admin":false},"repo":{"id":34082076,"name":"KSLib","full_name":"KSP-KOS/KSLib","owner":{"login":"KSP-KOS","id":6767371,"avatar_url":"https://avatars.githubusercontent.com/u/6767371?v=3","gravatar_id":"","url":"https://api.github.com/users/KSP-KOS","html_url":"https://github.com/KSP-KOS","followers_url":"https://api.github.com/users/KSP-KOS/followers","following_url":"https://api.github.com/users/KSP-KOS/following{/other_user}","gists_url":"https://api.github.com/users/KSP-KOS/gists{/gist_id}","starred_url":"https://api.github.com/users/KSP-KOS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KSP-KOS/subscriptions","organizations_url":"https://api.github.com/users/KSP-KOS/orgs","repos_url":"https://api.github.com/users/KSP-KOS/repos","events_url":"https://api.github.com/users/KSP-KOS/events{/privacy}","received_events_url":"https://api.github.com/users/KSP-KOS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/KSP-KOS/KSLib","description":"The standard library and examples for the Kerboscript language ","fork":false,"url":"https://api.github.com/repos/KSP-KOS/KSLib","forks_url":"https://api.github.com/repos/KSP-KOS/KSLib/forks","keys_url":"https://api.github.com/repos/KSP-KOS/KSLib/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KSP-KOS/KSLib/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KSP-KOS/KSLib/teams","hooks_url":"https://api.github.com/repos/KSP-KOS/KSLib/hooks","issue_events_url":"https://api.github.com/repos/KSP-KOS/KSLib/issues/events{/number}","events_url":"https://api.github.com/repos/KSP-KOS/KSLib/events","assignees_url":"https://api.github.com/repos/KSP-KOS/KSLib/assignees{/user}","branches_url":"https://api.github.com/repos/KSP-KOS/KSLib/branches{/branch}","tags_url":"https://api.github.com/repos/KSP-KOS/KSLib/tags","blobs_url":"https://api.github.com/repos/KSP-KOS/KSLib/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KSP-KOS/KSLib/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KSP-KOS/KSLib/git/refs{/sha}","trees_url":"https://api.github.com/repos/KSP-KOS/KSLib/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KSP-KOS/KSLib/statuses/{sha}","languages_url":"https://api.github.com/repos/KSP-KOS/KSLib/languages","stargazers_url":"https://api.github.com/repos/KSP-KOS/KSLib/stargazers","contributors_url":"https://api.github.com/repos/KSP-KOS/KSLib/contributors","subscribers_url":"https://api.github.com/repos/KSP-KOS/KSLib/subscribers","subscription_url":"https://api.github.com/repos/KSP-KOS/KSLib/subscription","commits_url":"https://api.github.com/repos/KSP-KOS/KSLib/commits{/sha}","git_commits_url":"https://api.github.com/repos/KSP-KOS/KSLib/git/commits{/sha}","comments_url":"https://api.github.com/repos/KSP-KOS/KSLib/comments{/number}","issue_comment_url":"https://api.github.com/repos/KSP-KOS/KSLib/issues/comments{/number}","contents_url":"https://api.github.com/repos/KSP-KOS/KSLib/contents/{+path}","compare_url":"https://api.github.com/repos/KSP-KOS/KSLib/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KSP-KOS/KSLib/merges","archive_url":"https://api.github.com/repos/KSP-KOS/KSLib/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KSP-KOS/KSLib/downloads","issues_url":"https://api.github.com/repos/KSP-KOS/KSLib/issues{/number}","pulls_url":"https://api.github.com/repos/KSP-KOS/KSLib/pulls{/number}","milestones_url":"https://api.github.com/repos/KSP-KOS/KSLib/milestones{/number}","notifications_url":"https://api.github.com/repos/KSP-KOS/KSLib/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KSP-KOS/KSLib/labels{/name}","releases_url":"https://api.github.com/repos/KSP-KOS/KSLib/releases{/id}","created_at":"2015-04-16T21:39:52Z","updated_at":"2015-04-25T00:29:55Z","pushed_at":"2015-04-25T23:04:14Z","git_url":"git://github.com/KSP-KOS/KSLib.git","ssh_url":"git@github.com:KSP-KOS/KSLib.git","clone_url":"https://github.com/KSP-KOS/KSLib.git","svn_url":"https://github.com/KSP-KOS/KSLib","homepage":null,"size":856,"stargazers_count":4,"watchers_count":4,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":9,"forks":7,"open_issues":9,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/KSP-KOS/KSLib/pulls/34"},"html":{"href":"https://github.com/KSP-KOS/KSLib/pull/34"},"issue":{"href":"https://api.github.com/repos/KSP-KOS/KSLib/issues/34"},"comments":{"href":"https://api.github.com/repos/KSP-KOS/KSLib/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/KSP-KOS/KSLib/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/KSP-KOS/KSLib/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KSP-KOS/KSLib/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/KSP-KOS/KSLib/statuses/5746776fb59d32d4fc739b36de2b5e443fa6f325"}}}}