Summary: | sysutils/tmux: some unicode characters not displaying correctly | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Oleh Hushchenkov <o.hushchenkov> | ||||
Component: | Individual Port(s) | Assignee: | Mathieu Arnold <mat> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Many People | CC: | o.hushchenkov | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(mat) |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
A commit references this bug: Author: mat Date: Thu Aug 4 13:19:34 UTC 2016 New revision: 419609 URL: https://svnweb.freebsd.org/changeset/ports/419609 Log: Fix some Unicode characters not displaying correctly. PR: 211499 Submitted by: Oleg Gushchenkov Obtained from: https://github.com/tmux/tmux/commit/65e4c57d3a554940ed5cada6dfeff403ae8d9572 Sponsored by: Absolight Changes: head/sysutils/tmux/Makefile head/sysutils/tmux/files/patch-utf8.c |
Created attachment 173156 [details] Patch from upstream Starting from version 2.2 tmux uses system functions to work with Unicode. On FreeBSD, wcwidth() returns -1 on some characters(like ''), so tmux cannot correctly draw this. Step to reproduce - type "echo '\U+E0A1'", you must see '' symbol but in tmux echoed empty line on 11-STABLE. This is a problem with FreeBSD system locale implementation, but upstream have workaround. Patch from upstream attached.