Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[PATCH] add build-time option to use unicode9 character widths
- X-seq: zsh-workers 40038
- From: Joshua Rubin <joshua@xxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [PATCH] add build-time option to use unicode9 character widths
- Date: Tue, 29 Nov 2016 00:42:27 -0700
- Cc: Joshua Rubin <joshua@xxxxxxxxxxxxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rubixconsulting.com; s=google; h=from:to:cc:subject:date:message-id; bh=6xz5G3qTgZ5y+Fm+tEfBYPIU00gcWzZwZj4783n4ID8=; b=WpUv2cF//gWJ636nhpHlkpDir6WK/e2UgU4ZwlBVG4LbKL2Z/BreyLRcuf4kFhli/x AqgmJAP8yrr7mbbx8opj+zFFJgGzV5Fng8BLDdoUgW6N6/8Ij35PvcMY8t2M/8xWuo+K /X1iDFQCLRVGzDHQFlviL2cO9Xse1EVJQ2ckQ=
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
This patch adds support for unicode9 character widths. wcwidth9.h comes from
https://github.com/joshuarubin/wcwidth9. Its tables were generated from those
already in use by vim/neovim which in turn build them from the official unicode
files EastAsianWidth.txt and emoji-data.txt
Joshua Rubin (1):
add build-time option to use unicode9 character widths
Src/compat.c | 13 +-
Src/wcwidth9.h | 1321 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Src/zsh.h | 4 +-
configure.ac | 12 +
4 files changed, 1348 insertions(+), 2 deletions(-)
create mode 100644 Src/wcwidth9.h
--
2.10.2
Messages sorted by:
Reverse Date,
Date,
Thread,
Author