Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[BUG] bracketed-paste-magic breaks pasting of CJK payload
- X-seq: zsh-workers 36763
- From: Zhiming Wang <zmwangx@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: [BUG] bracketed-paste-magic breaks pasting of CJK payload
- Date: Sat, 3 Oct 2015 15:08:06 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:subject:date:message-id:to:mime-version; bh=2eNKXSgEpdIYpYyhC6rKQNQjQNVwRhYWPLnkDWfScxo=; b=NwYgJ5eSafvJ4ZwWW4cKJWCALE3G9mAZRD41oF19cWTsPxu2n3VmIlHFlJgRUhKjO+ 2vRVAbQH0S0g+1VlGfoz4+7GpQETm6SHuOnosSQtVseQI8YuOOU5um99Eusv347+ZgSc KZXGVWoh8125m/YPRMgUQV2ezhqxh7huw0JkFsZXwB4ZFYvKeHTZHgH+ooPxJWjzF8aF BkbXBeHCW7EKqB7/FtCnkMUc0jWiC4CjWoXYtOXXxM0Qh1ZvDd7L+RdQUIWV8x3Ua+dT GFtGkGDh/DfrGB4eCpTm5wnuQ4t/yBj43xZAf2uKU+fdS7LNreiquM/kfYE76kxkEk5g j4cg==
- 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
I’m running zsh 5.1.1 on OS X. I noticed that enabling bracketed-paste-magic
from contrib via
autoload -Uz bracketed-paste-magic
zle -N bracketed-paste bracketed-paste-magic
breaks pasting of CJK payload. Trying to paste CJK text to ZLE buffer will just
make everything stall (and nothing pasted) until I manually interrupt with
^C. You may try to paste the following the see the effect yourself: 中文, 日本語,
or 한국어. Interestingly, some other non-ASCII charsets seem to work fine;
try to paste Schrödinger, for instance.
Attachment:
signature.asc
Description: Message signed with OpenPGP using GPGMail
Messages sorted by:
Reverse Date,
Date,
Thread,
Author