Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zcurses mouse delay (not Re: Slurping a file)
- X-seq: zsh-users 29470
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Ray Andrews <rayandrews@xxxxxxxxxxx>
- Cc: Zsh Users <zsh-users@xxxxxxx>
- Subject: zcurses mouse delay (not Re: Slurping a file)
- Date: Sat, 13 Jan 2024 21:03:30 -0800
- Archived-at: <https://zsh.org/users/29470>
- In-reply-to: <86efd9d3-c994-4551-ae1b-1358dcc86283@eastlink.ca>
- List-id: <zsh-users.zsh.org>
- References: <ca1761f1-6d8f-452a-b16d-2bfce9076e25@eastlink.ca> <CAH+w=7ZJsr7hGRvD8f-wUogPcGt0DMOcPyiYMpcwCsbBNkRwuQ@mail.gmail.com> <CAA=-s3zc5a+PA7draaA=FmXtwU9K8RrHbb70HbQN8MhmuXTYrQ@mail.gmail.com> <CAH+w=7bAWOF-v36hdNjaxBB-5rhjsp97mAtyESyR2OcojcEFUQ@mail.gmail.com> <205735b2-11e1-4b5e-baa2-7418753f591f@eastlink.ca> <CAH+w=7Y5_oQL20z7mkMUGSLnsdc9ceJ3=QqdAHVRF9jDZ_hZoQ@mail.gmail.com> <CAA=-s3x4nkLST56mhpWqb9OXUQR8081ew63p+5sEsyw5QmMdpw@mail.gmail.com> <CAH+w=7Yi+M1vthseF3Awp9JJh5KuFoCbFjLa--a22BGJgEJK_g@mail.gmail.com> <CAN=4vMpexntEq=hZcmsiXySy-2ptXMvBKunJ1knDkkS+4sYYLA@mail.gmail.com> <CAH+w=7aT-gbt7PRo=uvPK5=+rR3X-PE7nEssOkh+=fxwdeG_7w@mail.gmail.com> <86efd9d3-c994-4551-ae1b-1358dcc86283@eastlink.ca>
Please don't reply/re-use an unrelated subject for a new question.
On Sat, Jan 13, 2024 at 12:07 PM Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
>
> zcurses mouse delay 2000
>
> ... I get an error msg saying that an integer value is required. No
> matter what number I throw in there I get the same msg.
As far as I can tell, either this has never worked, or something
unexpected changed in the implementation of zstrtol() sometime after
2007.
The test for successful read of a number is wrong, and there's also a
typo in the call to print an error message in the event of an
unrecognized mouse subcommand.
Patch going separately to zsh-workers. Sorry, Ray, but you're out of
luck without a rebuild. I'll Cc you on the patch, it should apply to
any zsh/curses module since zsh 4.3.5 of 2008-02-01.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author