{"action":"created","issue":{"url":"https://api.github.com/repos/piotrmurach/tty-box/issues/1","repository_url":"https://api.github.com/repos/piotrmurach/tty-box","labels_url":"https://api.github.com/repos/piotrmurach/tty-box/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/piotrmurach/tty-box/issues/1/comments","events_url":"https://api.github.com/repos/piotrmurach/tty-box/issues/1/events","html_url":"https://github.com/piotrmurach/tty-box/issues/1","id":344673058,"node_id":"MDU6SXNzdWUzNDQ2NzMwNTg=","number":1,"title":"box is printed in the top of terminal","user":{"login":"longbeardmen","id":11632855,"node_id":"MDQ6VXNlcjExNjMyODU1","avatar_url":"https://avatars0.githubusercontent.com/u/11632855?v=4","gravatar_id":"","url":"https://api.github.com/users/longbeardmen","html_url":"https://github.com/longbeardmen","followers_url":"https://api.github.com/users/longbeardmen/followers","following_url":"https://api.github.com/users/longbeardmen/following{/other_user}","gists_url":"https://api.github.com/users/longbeardmen/gists{/gist_id}","starred_url":"https://api.github.com/users/longbeardmen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/longbeardmen/subscriptions","organizations_url":"https://api.github.com/users/longbeardmen/orgs","repos_url":"https://api.github.com/users/longbeardmen/repos","events_url":"https://api.github.com/users/longbeardmen/events{/privacy}","received_events_url":"https://api.github.com/users/longbeardmen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-07-26T02:36:09Z","updated_at":"2018-07-31T21:31:52Z","closed_at":null,"author_association":"NONE","body":"I use default demo code to test\r\n\r\n```\r\nrequire 'tty-box'\r\n\r\nbox = TTY::Box.frame(\r\n  width: 30,\r\n  height: 10,\r\n  align: :center,\r\n  padding: 3\r\n) do\r\n  \"Drawing a box in terminal emulator\"\r\nend\r\n\r\nprint box\r\n```\r\n\r\nI'v been trying to run that in `irb`or by `ruby file.rb` command execution.\r\nResult is always the same: code ignores current line in terminal, override previous history and prints box in the top of the console window\r\n\r\nenvironment:\r\nruby version is 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin17]\r\niTem version is 3.1.7"},"comment":{"url":"https://api.github.com/repos/piotrmurach/tty-box/issues/comments/409374770","html_url":"https://github.com/piotrmurach/tty-box/issues/1#issuecomment-409374770","issue_url":"https://api.github.com/repos/piotrmurach/tty-box/issues/1","id":409374770,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTM3NDc3MA==","user":{"login":"piotrmurach","id":444312,"node_id":"MDQ6VXNlcjQ0NDMxMg==","avatar_url":"https://avatars3.githubusercontent.com/u/444312?v=4","gravatar_id":"","url":"https://api.github.com/users/piotrmurach","html_url":"https://github.com/piotrmurach","followers_url":"https://api.github.com/users/piotrmurach/followers","following_url":"https://api.github.com/users/piotrmurach/following{/other_user}","gists_url":"https://api.github.com/users/piotrmurach/gists{/gist_id}","starred_url":"https://api.github.com/users/piotrmurach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piotrmurach/subscriptions","organizations_url":"https://api.github.com/users/piotrmurach/orgs","repos_url":"https://api.github.com/users/piotrmurach/repos","events_url":"https://api.github.com/users/piotrmurach/events{/privacy}","received_events_url":"https://api.github.com/users/piotrmurach/received_events","type":"User","site_admin":false},"created_at":"2018-07-31T21:31:52Z","updated_at":"2018-07-31T21:31:52Z","author_association":"OWNER","body":"@longbeardmen Released `v0.2.0` that prints the box in irb session as you would expect provided no positioning coordinates are supplied. Let me know if this works well for you!"}}
{"actor":{"display_login":"piotrmurach"}}