{"action":"created","issue":{"url":"https://api.github.com/repos/thestinger/termite/issues/614","repository_url":"https://api.github.com/repos/thestinger/termite","labels_url":"https://api.github.com/repos/thestinger/termite/issues/614/labels{/name}","comments_url":"https://api.github.com/repos/thestinger/termite/issues/614/comments","events_url":"https://api.github.com/repos/thestinger/termite/issues/614/events","html_url":"https://github.com/thestinger/termite/issues/614","id":337472213,"node_id":"MDU6SXNzdWUzMzc0NzIyMTM=","number":614,"title":"Zsh RPROMPT strange behavior on resize (not redrawing correctly)","user":{"login":"Tomaszal","id":23457585,"node_id":"MDQ6VXNlcjIzNDU3NTg1","avatar_url":"https://avatars0.githubusercontent.com/u/23457585?v=4","gravatar_id":"","url":"https://api.github.com/users/Tomaszal","html_url":"https://github.com/Tomaszal","followers_url":"https://api.github.com/users/Tomaszal/followers","following_url":"https://api.github.com/users/Tomaszal/following{/other_user}","gists_url":"https://api.github.com/users/Tomaszal/gists{/gist_id}","starred_url":"https://api.github.com/users/Tomaszal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tomaszal/subscriptions","organizations_url":"https://api.github.com/users/Tomaszal/orgs","repos_url":"https://api.github.com/users/Tomaszal/repos","events_url":"https://api.github.com/users/Tomaszal/events{/privacy}","received_events_url":"https://api.github.com/users/Tomaszal/received_events","type":"User","site_admin":false},"labels":[{"id":234889853,"node_id":"MDU6TGFiZWwyMzQ4ODk4NTM=","url":"https://api.github.com/repos/thestinger/termite/labels/upstream","name":"upstream","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-07-02T11:03:08Z","updated_at":"2018-07-04T21:55:16Z","closed_at":null,"author_association":"NONE","body":"I've been having some problems while tinkering with my zsh prompt and I've narrowed it down to this. Whenever RPROMPT is set the history gets spammed with prompts on resize of the window. It's especially noticeable when you make the window smaller.\r\n\r\n+ Here's how it looks normally:\r\n    ```\r\n    PROMPT='%n > '\r\n    ```\r\n\r\n    ![normal](https://user-images.githubusercontent.com/23457585/42160574-6b6ec976-7e00-11e8-8f31-af3c7400eda8.gif)\r\n\r\n+ Same prompt with long text:\r\n\r\n    ![longtext](https://user-images.githubusercontent.com/23457585/42160602-7ee21f80-7e00-11e8-9fa2-fe6c3325e432.gif)\r\n\r\n+ Here's how it looks with RPROMPT set:\r\n    ```\r\n    PROMPT='%n > '\r\n    RPROMPT='%D{%H:%M:%S}'\r\n    ```\r\n\r\n    ![rprompt](https://user-images.githubusercontent.com/23457585/42160620-87d204b6-7e00-11e8-9a9a-d68fb52f0d16.gif)"},"comment":{"url":"https://api.github.com/repos/thestinger/termite/issues/comments/402564244","html_url":"https://github.com/thestinger/termite/issues/614#issuecomment-402564244","issue_url":"https://api.github.com/repos/thestinger/termite/issues/614","id":402564244,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjU2NDI0NA==","user":{"login":"egmontkob","id":5750745,"node_id":"MDQ6VXNlcjU3NTA3NDU=","avatar_url":"https://avatars3.githubusercontent.com/u/5750745?v=4","gravatar_id":"","url":"https://api.github.com/users/egmontkob","html_url":"https://github.com/egmontkob","followers_url":"https://api.github.com/users/egmontkob/followers","following_url":"https://api.github.com/users/egmontkob/following{/other_user}","gists_url":"https://api.github.com/users/egmontkob/gists{/gist_id}","starred_url":"https://api.github.com/users/egmontkob/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egmontkob/subscriptions","organizations_url":"https://api.github.com/users/egmontkob/orgs","repos_url":"https://api.github.com/users/egmontkob/repos","events_url":"https://api.github.com/users/egmontkob/events{/privacy}","received_events_url":"https://api.github.com/users/egmontkob/received_events","type":"User","site_admin":false},"created_at":"2018-07-04T21:55:16Z","updated_at":"2018-07-04T21:55:16Z","author_association":"NONE","body":"urxvt doesn't rewrap its contents until you've reached a screenful of content. (I cannot imagine any sane reason behind this behavior). Until then it's just like xterm, or gnome-terminal with rewrapping disabled.\r\n\r\nCan you safely reproduce this difference between gnome-terminal and urxvt after you've produced more than a screenful of content in urxvt?"}}
{"actor":{"display_login":"egmontkob"}}