{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/osquery/issues/2592","repository_url":"https://api.github.com/repos/facebook/osquery","labels_url":"https://api.github.com/repos/facebook/osquery/issues/2592/labels{/name}","comments_url":"https://api.github.com/repos/facebook/osquery/issues/2592/comments","events_url":"https://api.github.com/repos/facebook/osquery/issues/2592/events","html_url":"https://github.com/facebook/osquery/issues/2592","id":181139918,"number":2592,"title":"backspace key not updating terminal output correctly","user":{"login":"dennisjac","id":500583,"avatar_url":"https://avatars.githubusercontent.com/u/500583?v=3","gravatar_id":"","url":"https://api.github.com/users/dennisjac","html_url":"https://github.com/dennisjac","followers_url":"https://api.github.com/users/dennisjac/followers","following_url":"https://api.github.com/users/dennisjac/following{/other_user}","gists_url":"https://api.github.com/users/dennisjac/gists{/gist_id}","starred_url":"https://api.github.com/users/dennisjac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dennisjac/subscriptions","organizations_url":"https://api.github.com/users/dennisjac/orgs","repos_url":"https://api.github.com/users/dennisjac/repos","events_url":"https://api.github.com/users/dennisjac/events{/privacy}","received_events_url":"https://api.github.com/users/dennisjac/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/osquery/labels/Linux","name":"Linux","color":"d4c5f9"},{"url":"https://api.github.com/repos/facebook/osquery/labels/triage","name":"triage","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-05T12:32:02Z","updated_at":"2016-10-07T20:35:48Z","closed_at":null,"body":"When entering osqueryi interactive mode on a CentOS 7 system the backspace key seems to update the internal buffers correctly but in the terminal the output is broken. When I enter \"xxx\" and then hit the backspace key three times the cursor will move to the right once with each key press instead of moving to the left and deleting one \"x\". Pressing backspace a fourth time will not move the cursor to the right anymore and hitting enter will just result in another prompt which leads me to believe that the internal buffers are updated correctly i.e. after hitting backspace three times the three x's are removed from the internal buffer and hitting enter has the same effect as hitting enter on an empty line.\r\n\r\nThis renders the interactive mode sort of unusable unless you never make a typo and combined with issue #2591 which i reported earlier renders the tool as a whole pretty much impossible to work with.\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/osquery/issues/comments/252354784","html_url":"https://github.com/facebook/osquery/issues/2592#issuecomment-252354784","issue_url":"https://api.github.com/repos/facebook/osquery/issues/2592","id":252354784,"user":{"login":"aadamowski","id":143613,"avatar_url":"https://avatars.githubusercontent.com/u/143613?v=3","gravatar_id":"","url":"https://api.github.com/users/aadamowski","html_url":"https://github.com/aadamowski","followers_url":"https://api.github.com/users/aadamowski/followers","following_url":"https://api.github.com/users/aadamowski/following{/other_user}","gists_url":"https://api.github.com/users/aadamowski/gists{/gist_id}","starred_url":"https://api.github.com/users/aadamowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aadamowski/subscriptions","organizations_url":"https://api.github.com/users/aadamowski/orgs","repos_url":"https://api.github.com/users/aadamowski/repos","events_url":"https://api.github.com/users/aadamowski/events{/privacy}","received_events_url":"https://api.github.com/users/aadamowski/received_events","type":"User","site_admin":false},"created_at":"2016-10-07T20:35:48Z","updated_at":"2016-10-07T20:35:48Z","body":"Got a repro on CentOS 6 and CentOS 7. Working with @theopolis on diagnosing it."}}
{"actor":{"display_login":"aadamowski"}}