{"action":"created","issue":{"url":"https://api.github.com/repos/mischief/efivim/issues/4","repository_url":"https://api.github.com/repos/mischief/efivim","labels_url":"https://api.github.com/repos/mischief/efivim/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/mischief/efivim/issues/4/comments","events_url":"https://api.github.com/repos/mischief/efivim/issues/4/events","html_url":"https://github.com/mischief/efivim/issues/4","id":354038801,"node_id":"MDU6SXNzdWUzNTQwMzg4MDE=","number":4,"title":"Terminal/rendering and swapfile issues","user":{"login":"Depau","id":1151321,"node_id":"MDQ6VXNlcjExNTEzMjE=","avatar_url":"https://avatars2.githubusercontent.com/u/1151321?v=4","gravatar_id":"","url":"https://api.github.com/users/Depau","html_url":"https://github.com/Depau","followers_url":"https://api.github.com/users/Depau/followers","following_url":"https://api.github.com/users/Depau/following{/other_user}","gists_url":"https://api.github.com/users/Depau/gists{/gist_id}","starred_url":"https://api.github.com/users/Depau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Depau/subscriptions","organizations_url":"https://api.github.com/users/Depau/orgs","repos_url":"https://api.github.com/users/Depau/repos","events_url":"https://api.github.com/users/Depau/events{/privacy}","received_events_url":"https://api.github.com/users/Depau/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-25T19:49:05Z","updated_at":"2018-08-25T20:01:11Z","closed_at":null,"author_association":"NONE","body":"These are the issues I'm currently experiencing:\r\n\r\n- The swap file is never deleted. When exiting, even normally with `:q`, then re-running vim, it complains as if it crashed.\r\n\r\nTerminal/display issues:\r\n-  The \"recover the file\" message is broken ([screenshot](https://s8.postimg.cc/j6d74uorp/Screenshot_from_2018-08-25_21-36-49.png)).\r\n- Once started, only the first lines (around 40% of the terminal rows) are displayed ([screenshot](https://s8.postimg.cc/5bewm9rqt/Screenshot_from_2018-08-25_21-27-59.png)). The other ones until the end of the screen are blank/the lines that were previously displayed.\r\n- Arrow keys, pgup/down don't work, HJKL work.\r\n- When scrolling down, everything's fine (kind of). When scrolling back up, only the first line is refreshed.\r\n- The status line works in general, but when switching modes it does not show the current mode.\r\n- In insert mode:\r\n  - Return does not add a new line.\r\n  - When typing in an existing line, text looks like it's being replaced. However, once saved and reopened, you can see it actually did it right (text is inserted)\r\n  - Other than this, typing works fine in general; however, after switching back to normal mode, the last character disappears. After saving, deleting the leftover swap files and reopening, the last character is sometimes replaced with the first character of the line.\r\n- When yanking/pasting, the pasted line is displayed on top of the destination line instead of adding a new line. Once saved and reopened the result is fine.\r\n\r\nI also tried visual block mode and it seems working.\r\n\r\nTested both natively and on VirtualBox, the same issues occur."},"comment":{"url":"https://api.github.com/repos/mischief/efivim/issues/comments/415993122","html_url":"https://github.com/mischief/efivim/issues/4#issuecomment-415993122","issue_url":"https://api.github.com/repos/mischief/efivim/issues/4","id":415993122,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTk5MzEyMg==","user":{"login":"mischief","id":1487996,"node_id":"MDQ6VXNlcjE0ODc5OTY=","avatar_url":"https://avatars3.githubusercontent.com/u/1487996?v=4","gravatar_id":"","url":"https://api.github.com/users/mischief","html_url":"https://github.com/mischief","followers_url":"https://api.github.com/users/mischief/followers","following_url":"https://api.github.com/users/mischief/following{/other_user}","gists_url":"https://api.github.com/users/mischief/gists{/gist_id}","starred_url":"https://api.github.com/users/mischief/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mischief/subscriptions","organizations_url":"https://api.github.com/users/mischief/orgs","repos_url":"https://api.github.com/users/mischief/repos","events_url":"https://api.github.com/users/mischief/events{/privacy}","received_events_url":"https://api.github.com/users/mischief/received_events","type":"User","site_admin":false},"created_at":"2018-08-25T20:01:11Z","updated_at":"2018-08-25T20:01:11Z","author_association":"OWNER","body":"hi, thanks for your interest.\r\n\r\n- swapfiles: no clue whats wrong with them, i never really tried them\r\n- rendering issues: probably incomplete or broken terminal emulation, see `mch_write()`\r\n- input issues: same thing, no special handling is done for special keys (such as arrows), i just use edk2's read() function - see `mch_inchar()`\r\n\r\nall of this can be found in vim's system-specific compat shim, i.e. for efivim - https://github.com/mischief/efivim/blob/master/src/efivim.c\r\n\r\nif you have a rendering error, you can try spamming control-l or type `:redraw`.\r\n\r\ni would happily accept a patch if you would like to fix any of these problems."}}
{"actor":{"display_login":"mischief"}}