From: Risto Laitinen <risto.laitinen@gmail.com>
To: Ray Andrews <rayandrews@eastlink.ca>
Cc: Zsh Users <zsh-users@zsh.org>
Subject: Re: one time in 20 error
Date: Tue, 29 Nov 2022 04:48:41 +0200 [thread overview]
Message-ID: <CAA-Ti-hhbwZD3-aeMvy_tm5f7SKHw7XN4muJn8ymez1q7rAE_A@mail.gmail.com> (raw)
In-Reply-To: <f29162cd-28d1-85ed-6a3c-9bec1fb2e13a@eastlink.ca>
It is a mouse event (SGR report mode)
CSI < p1 ; p2 ; p3 m button release
CSI < p1 ; p2 ; p3 M button press or move
p1 = button + modifiers
p2 = column
p3 = row
https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h2-Mouse-Tracking
(Sent this just to Ray first by accident, apologies for the dupe.)
On Mon, Nov 28, 2022 at 7:41 PM Ray Andrews <rayandrews@eastlink.ca> wrote:
>
> I have a function that uses zcurses that works fine about 19 times out
> of 20 but occasionally, on returning, it leaves something like this on
> the command line:
>
> #zsh: permission denied: 1
> #^[[<0;24;4m#
> $ 0;24;4m
>
> ... the first number is always zero, the second is always two digits and
> the third one can be one or two digits. The semi-colons and the 'm'
> never change. Does anyone have the slightest clue what might be going
> on? They look like color codes sorta. When it happens seems completely
> random and it's frustratingly rare, so hard to even begin to diagnose.
> When it happens nothing seems amiss subsequently -- nothing seems to be
> broken.
>
>
>
>
next prev parent reply other threads:[~2022-11-29 2:49 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-28 17:40 Ray Andrews
2022-11-28 17:54 ` Roman Perepelitsa
2022-11-28 20:34 ` Ray Andrews
2022-11-28 20:46 ` Roman Perepelitsa
2022-11-28 22:16 ` Ray Andrews
2022-11-28 22:24 ` Roman Perepelitsa
2022-11-28 23:18 ` Ray Andrews
2022-11-29 2:48 ` Risto Laitinen [this message]
2022-11-29 3:27 ` Ray Andrews
2022-11-29 10:13 ` Roman Perepelitsa
2022-11-29 13:29 ` Ray Andrews
2022-11-30 4:32 ` Bart Schaefer
2022-11-30 13:56 ` Ray Andrews
2022-11-30 14:10 ` Roman Perepelitsa
2022-11-30 20:23 ` Ray Andrews
2022-11-30 23:17 ` Ray Andrews
2022-11-30 23:46 ` Bart Schaefer
2022-12-01 0:03 ` Bart Schaefer
2022-12-01 3:20 ` Ray Andrews
2022-12-01 9:19 ` Roman Perepelitsa
2022-12-01 14:35 ` Ray Andrews
2022-12-01 14:42 ` Philippe Altherr
2022-12-01 21:19 ` Ray Andrews
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAA-Ti-hhbwZD3-aeMvy_tm5f7SKHw7XN4muJn8ymez1q7rAE_A@mail.gmail.com \
--to=risto.laitinen@gmail.com \
--cc=rayandrews@eastlink.ca \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).