Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: visual line movement
- X-seq: zsh-users 23539
- From: Anthony Heading <anthony@xxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: visual line movement
- Date: Fri, 27 Jul 2018 07:50:31 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ajrh.net; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=gzyviakg3uORkgYY1dpTTIC53p i94AndkHcxaWgTlHo=; b=ngSl0pBo99gtDS1jcJFW7O0JJ0yFH/kig47QFIAe9R XOuFaUPEzVY6DDewfEyJehUt5/UkmlTqLmz0Eaf03gek6kHMNX2deSnNE/jnYUaF qjRmiJE7RZVXMK/DTD+gXVGJbxokz8IHttjUfxNHy1HGOIFtb+KEkZNOu9Lc2mn6 o=
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=gzyvia kg3uORkgYY1dpTTIC53pi94AndkHcxaWgTlHo=; b=pVE0WC8ikO+9s00U6PAmMt PAI6vGITUuMAd5qA5b/GtmPeZHEtYLhGp+S7OyXqE0ahH2uz4DbKsJLfB/jKxt3R oOAkK4BZlrJ1LMwJPMg2BmWk7FQvpBz9G/UfXoZuqzBElQP0lUyHProK4ASaeelO jVn84r8yvH4J+sb3mHdnPBr0JUjr0Bi3TeucFeXimzoNmkOwjXyXrEpmNlWYUAzS OEclRmFPo01z6GYtSPkQR1PUu1MJS2SLCK9jUu2rXrtxTLfH85mfKJ/bF+aPwZl2 eWmTN7km/64BkRyEKwHrNqbPcQf3pV7DAgnU4D5zEsPwChVcq4hLSGx1zrckz6KQ ==
- In-reply-to: <CAHYJk3SmCvXdXemGyQPn6uPgCs73+aSatefX0gGMnJ+fcJ2BbQ@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <1532675437.2645470.1454547640.6843860B@webmail.messagingengine.com> <CAHYJk3SmCvXdXemGyQPn6uPgCs73+aSatefX0gGMnJ+fcJ2BbQ@mail.gmail.com>
On Fri, Jul 27, 2018, at 5:53 AM, Mikael Magnusson wrote:
> If you make a custom widget that moves $COLUMNS characters left/right, the effect
> should be approximately the same.
Agreed, though that loses the '\n' handling that the base widget does perfectly, and
it would be nice to think about Unicode, and maybe there are additional sources of
infelicities too.
For my education, I'll try to find the drawing code that Peter mentions and see what
it aims to handle. The COMBINING_CHARS option looks instructive.
It being 2018 and all, I wonder if reading the cursor position from the terminal
after each character is a workable option.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author