{"action":"created","issue":{"url":"https://api.github.com/repos/martinwguy/xvi/issues/30","repository_url":"https://api.github.com/repos/martinwguy/xvi","labels_url":"https://api.github.com/repos/martinwguy/xvi/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/martinwguy/xvi/issues/30/comments","events_url":"https://api.github.com/repos/martinwguy/xvi/issues/30/events","html_url":"https://github.com/martinwguy/xvi/issues/30","id":187727698,"number":30,"title":"The length of command lines is limited to WIDTH-2 characters","user":{"login":"martinwguy","id":608929,"avatar_url":"https://avatars.githubusercontent.com/u/608929?v=3","gravatar_id":"","url":"https://api.github.com/users/martinwguy","html_url":"https://github.com/martinwguy","followers_url":"https://api.github.com/users/martinwguy/followers","following_url":"https://api.github.com/users/martinwguy/following{/other_user}","gists_url":"https://api.github.com/users/martinwguy/gists{/gist_id}","starred_url":"https://api.github.com/users/martinwguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinwguy/subscriptions","organizations_url":"https://api.github.com/users/martinwguy/orgs","repos_url":"https://api.github.com/users/martinwguy/repos","events_url":"https://api.github.com/users/martinwguy/events{/privacy}","received_events_url":"https://api.github.com/users/martinwguy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-11-07T14:38:29Z","updated_at":"2016-12-13T13:24:48Z","closed_at":null,"body":"Xvi stops accepting command-line input at the WIDTH-1th character of the screen.\r\n\r\nvim, nvi and classic vi just wrap to the next line, which scrolls the whole screen by a line, then they redraw the whole screen when you hit enter (or ^C or Esc). Strangely, classic vi wraps at the 79th character, then subsequent lines at the 80th (or WIDTH-1 and WIDTH) while nvi and vim wrap both the first line and continuation lines at the 80th (or WIDTHth) character. I'm not sure how invasive a change that would be for xvi. It's not just a question of carrying on printing characters and leaving the terminal to do the wrapping, as xvi also runs on character-memory-mapped displays, for example on the IBM PC in EGA and VGA modes it writes directly to the frame buffer, so we'd need to explicitly scroll the whole display ourselves to mimic this behaviour."},"comment":{"url":"https://api.github.com/repos/martinwguy/xvi/issues/comments/266737378","html_url":"https://github.com/martinwguy/xvi/issues/30#issuecomment-266737378","issue_url":"https://api.github.com/repos/martinwguy/xvi/issues/30","id":266737378,"user":{"login":"martinwguy","id":608929,"avatar_url":"https://avatars.githubusercontent.com/u/608929?v=3","gravatar_id":"","url":"https://api.github.com/users/martinwguy","html_url":"https://github.com/martinwguy","followers_url":"https://api.github.com/users/martinwguy/followers","following_url":"https://api.github.com/users/martinwguy/following{/other_user}","gists_url":"https://api.github.com/users/martinwguy/gists{/gist_id}","starred_url":"https://api.github.com/users/martinwguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinwguy/subscriptions","organizations_url":"https://api.github.com/users/martinwguy/orgs","repos_url":"https://api.github.com/users/martinwguy/repos","events_url":"https://api.github.com/users/martinwguy/events{/privacy}","received_events_url":"https://api.github.com/users/martinwguy/received_events","type":"User","site_admin":false},"created_at":"2016-12-13T13:24:48Z","updated_at":"2016-12-13T13:24:48Z","body":"> Can you see if that is implementable without too much trouble?\r\n\r\n...ensuring that it uses delchar and inschar, if available, when scrolling by one character, for the benefit of those on very slow connections.\r\nThat said, the current version is a big improvement what it did before, slow connection or not!\r\n\r\nI'd reduce the command line buffer size increment - 256 bytes is a lot of RAM to xvi!\r\nMaybe 80, so that, if they never go beyond 79 characters, no extra RAM is used, and if they do, to use a minimum of extra RAM?"}}
{"actor":{"display_login":"martinwguy"}}