{"action":"created","issue":{"url":"https://api.github.com/repos/tmux-plugins/tmux-battery/issues/31","repository_url":"https://api.github.com/repos/tmux-plugins/tmux-battery","labels_url":"https://api.github.com/repos/tmux-plugins/tmux-battery/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/tmux-plugins/tmux-battery/issues/31/comments","events_url":"https://api.github.com/repos/tmux-plugins/tmux-battery/issues/31/events","html_url":"https://github.com/tmux-plugins/tmux-battery/issues/31","id":175735170,"number":31,"title":"Broken UI with 2-bytes unicode characters (e.g. 🗲🔋)","user":{"login":"edouard-lopez","id":1212392,"avatar_url":"https://avatars.githubusercontent.com/u/1212392?v=3","gravatar_id":"","url":"https://api.github.com/users/edouard-lopez","html_url":"https://github.com/edouard-lopez","followers_url":"https://api.github.com/users/edouard-lopez/followers","following_url":"https://api.github.com/users/edouard-lopez/following{/other_user}","gists_url":"https://api.github.com/users/edouard-lopez/gists{/gist_id}","starred_url":"https://api.github.com/users/edouard-lopez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edouard-lopez/subscriptions","organizations_url":"https://api.github.com/users/edouard-lopez/orgs","repos_url":"https://api.github.com/users/edouard-lopez/repos","events_url":"https://api.github.com/users/edouard-lopez/events{/privacy}","received_events_url":"https://api.github.com/users/edouard-lopez/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tmux-plugins/tmux-battery/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-09-08T11:59:02Z","updated_at":"2016-09-29T18:42:14Z","closed_at":null,"body":"If I set the icons as follow:\r\n\r\n```\r\nset -g @batt_charged_icon \"✔\"\r\n#set -g @batt_charging_icon \"🗲\"\r\nset -g @batt_discharging_icon '🔋'\r\nset -g @batt_attached_icon '🔌'\r\n```\r\n\r\nThe UI broke loose when I unplug my laptop and switch to discharging and the tmux status bar appear twice each time it refresh.\r\n\r\n![selection_005](https://cloud.githubusercontent.com/assets/1212392/18348455/b28ea464-75cb-11e6-8700-2e44aec8ea68.png)\r\n\r\n\r\nIf I replace charging icon `🗲` (`U+1F5F2 LIGHTNING MOOD`, UTF-16: `0xD83D 0xDDF2`) by `⚡`  (`U+26A1 HIGH VOLTAGE SIGN`, UTF-16: `0x26A1`) there is no more problem while charging.\r\n\r\nI'm using Noto Sans as main font but the 2-bytes unicode character are rendered by [Symbola Font](http://users.teilar.gr/~g1951d/)."},"comment":{"url":"https://api.github.com/repos/tmux-plugins/tmux-battery/issues/comments/250555079","html_url":"https://github.com/tmux-plugins/tmux-battery/issues/31#issuecomment-250555079","issue_url":"https://api.github.com/repos/tmux-plugins/tmux-battery/issues/31","id":250555079,"user":{"login":"martinbeentjes","id":8865313,"avatar_url":"https://avatars.githubusercontent.com/u/8865313?v=3","gravatar_id":"","url":"https://api.github.com/users/martinbeentjes","html_url":"https://github.com/martinbeentjes","followers_url":"https://api.github.com/users/martinbeentjes/followers","following_url":"https://api.github.com/users/martinbeentjes/following{/other_user}","gists_url":"https://api.github.com/users/martinbeentjes/gists{/gist_id}","starred_url":"https://api.github.com/users/martinbeentjes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinbeentjes/subscriptions","organizations_url":"https://api.github.com/users/martinbeentjes/orgs","repos_url":"https://api.github.com/users/martinbeentjes/repos","events_url":"https://api.github.com/users/martinbeentjes/events{/privacy}","received_events_url":"https://api.github.com/users/martinbeentjes/received_events","type":"User","site_admin":false},"created_at":"2016-09-29T18:42:14Z","updated_at":"2016-09-29T18:42:14Z","body":"So we can conclude it is a terminal or font related issue?"}}
{"actor":{"display_login":"martinbeentjes"}}