{"action":"created","issue":{"url":"https://api.github.com/repos/peterbrittain/asciimatics/issues/192","repository_url":"https://api.github.com/repos/peterbrittain/asciimatics","labels_url":"https://api.github.com/repos/peterbrittain/asciimatics/issues/192/labels{/name}","comments_url":"https://api.github.com/repos/peterbrittain/asciimatics/issues/192/comments","events_url":"https://api.github.com/repos/peterbrittain/asciimatics/issues/192/events","html_url":"https://github.com/peterbrittain/asciimatics/issues/192","id":385731050,"node_id":"MDU6SXNzdWUzODU3MzEwNTA=","number":192,"title":"Label widget can not wrap when using chinese","user":{"login":"storezhang","id":4278758,"node_id":"MDQ6VXNlcjQyNzg3NTg=","avatar_url":"https://avatars0.githubusercontent.com/u/4278758?v=4","gravatar_id":"","url":"https://api.github.com/users/storezhang","html_url":"https://github.com/storezhang","followers_url":"https://api.github.com/users/storezhang/followers","following_url":"https://api.github.com/users/storezhang/following{/other_user}","gists_url":"https://api.github.com/users/storezhang/gists{/gist_id}","starred_url":"https://api.github.com/users/storezhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/storezhang/subscriptions","organizations_url":"https://api.github.com/users/storezhang/orgs","repos_url":"https://api.github.com/users/storezhang/repos","events_url":"https://api.github.com/users/storezhang/events{/privacy}","received_events_url":"https://api.github.com/users/storezhang/received_events","type":"User","site_admin":false},"labels":[{"id":200110576,"node_id":"MDU6TGFiZWwyMDAxMTA1NzY=","url":"https://api.github.com/repos/peterbrittain/asciimatics/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"closed","locked":false,"assignee":{"login":"peterbrittain","id":4748877,"node_id":"MDQ6VXNlcjQ3NDg4Nzc=","avatar_url":"https://avatars2.githubusercontent.com/u/4748877?v=4","gravatar_id":"","url":"https://api.github.com/users/peterbrittain","html_url":"https://github.com/peterbrittain","followers_url":"https://api.github.com/users/peterbrittain/followers","following_url":"https://api.github.com/users/peterbrittain/following{/other_user}","gists_url":"https://api.github.com/users/peterbrittain/gists{/gist_id}","starred_url":"https://api.github.com/users/peterbrittain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterbrittain/subscriptions","organizations_url":"https://api.github.com/users/peterbrittain/orgs","repos_url":"https://api.github.com/users/peterbrittain/repos","events_url":"https://api.github.com/users/peterbrittain/events{/privacy}","received_events_url":"https://api.github.com/users/peterbrittain/received_events","type":"User","site_admin":false},"assignees":[{"login":"peterbrittain","id":4748877,"node_id":"MDQ6VXNlcjQ3NDg4Nzc=","avatar_url":"https://avatars2.githubusercontent.com/u/4748877?v=4","gravatar_id":"","url":"https://api.github.com/users/peterbrittain","html_url":"https://github.com/peterbrittain","followers_url":"https://api.github.com/users/peterbrittain/followers","following_url":"https://api.github.com/users/peterbrittain/following{/other_user}","gists_url":"https://api.github.com/users/peterbrittain/gists{/gist_id}","starred_url":"https://api.github.com/users/peterbrittain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterbrittain/subscriptions","organizations_url":"https://api.github.com/users/peterbrittain/orgs","repos_url":"https://api.github.com/users/peterbrittain/repos","events_url":"https://api.github.com/users/peterbrittain/events{/privacy}","received_events_url":"https://api.github.com/users/peterbrittain/received_events","type":"User","site_admin":false}],"milestone":null,"comments":10,"created_at":"2018-11-29T13:15:38Z","updated_at":"2018-11-30T12:47:29Z","closed_at":"2018-11-30T10:20:58Z","author_association":"NONE","body":"**Describe the bug**\r\nWith the Label control, if Chinese characters are used, when the characters are too long, the Label cannot be displayed in a new line. However, if you use English characters, you can automatically wrap.\r\n\r\n**To Reproduce**\r\n\r\n1. create a new Label widget and set label is \"这是一个很长的标签控件！这是一个很长的标签控件！这是一个很长的标签控件！这是一个很长的标签控件！这是一个很长的标签控件！这是一个很长的标签控件！这是一个很长的标签控件！这是一个很长的标签控件！这是一个很长的标签控件！这是一个很长的标签控件！这是一个很长的标签控件！这是一个很长的标签控件！这是一个很长的标签控件！这是一个很长的标签控件！\"\r\n2. startup app and watch display\r\n\r\n**Expected behavior**\r\nAny character (including Chinese characters, English characters) should be automatically wrapped when the string is too long.\r\n\r\n**Screenshots**\r\nCan't take screenshots, the current version of asciimatics can't display Chinese characters, it can be reproduced on the company's computer, but the company's computer can't connect to the Internet (I don't know the company is fucking delusion), so you need to repeat it yourself. Now it’s time.\r\n\r\n**System details (please complete the following information):**\r\n - OS and version: CentOS 7\r\n - Asciimatics version: 1.10.0\r\n\r\n**Additional context**\r\nuse this code to test: https://github.com/storezhang/asciimatics/blob/master/bug/app.py"},"comment":{"url":"https://api.github.com/repos/peterbrittain/asciimatics/issues/comments/443193601","html_url":"https://github.com/peterbrittain/asciimatics/issues/192#issuecomment-443193601","issue_url":"https://api.github.com/repos/peterbrittain/asciimatics/issues/192","id":443193601,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MzE5MzYwMQ==","user":{"login":"peterbrittain","id":4748877,"node_id":"MDQ6VXNlcjQ3NDg4Nzc=","avatar_url":"https://avatars2.githubusercontent.com/u/4748877?v=4","gravatar_id":"","url":"https://api.github.com/users/peterbrittain","html_url":"https://github.com/peterbrittain","followers_url":"https://api.github.com/users/peterbrittain/followers","following_url":"https://api.github.com/users/peterbrittain/following{/other_user}","gists_url":"https://api.github.com/users/peterbrittain/gists{/gist_id}","starred_url":"https://api.github.com/users/peterbrittain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterbrittain/subscriptions","organizations_url":"https://api.github.com/users/peterbrittain/orgs","repos_url":"https://api.github.com/users/peterbrittain/repos","events_url":"https://api.github.com/users/peterbrittain/events{/privacy}","received_events_url":"https://api.github.com/users/peterbrittain/received_events","type":"User","site_admin":false},"created_at":"2018-11-30T12:47:29Z","updated_at":"2018-11-30T12:47:29Z","author_association":"OWNER","body":"Yes - the other issue with master that you raised as #191 was also a bug, but that is also now fixed (by the other patch linked to that issue).  Just take master now and you should be fine."}}
{"actor":{"display_login":"peterbrittain"}}