moar icon indicating copy to clipboard operation
moar copied to clipboard

Error Warning on Moar running on macOS 12.2

Open ciscohack opened this issue 2 years ago • 3 comments

Hi Walles

I got this message on console while reading and closing the log

Please post the following report at https://github.com/walles/moar/issues, or e-mail it to [email protected].

Version: v1.8.4 LANG : en_US.UTF-8 TERM : screen-256color

GOOS : darwin GOARCH : amd64 Compiler: gc NumCPU : 12

time="2022-02-10T23:48:56.218109+05:30" level=warning msg="Got invalid UTF-8 sequence on ttyin: \x1b[<65;132;22M\x1b[<65;132;22M\x1b[Ma\xa46\x1b[Ma\xa46"

ciscohack avatar Feb 10 '22 18:02 ciscohack

Is this something you can reproduce? If so, how?

Does it happen a lot? Just once?

I think this is related to something you do with your mouse.

What I know is that these are actually four events:

\x1b[<65;132;22M
\x1b[<65;132;22M
\x1b[Ma\xa46
\x1b[Ma\xa46

\x1b[ is called "CSI" and marks the start of each sequence.

The two first ones are wheel-up events.

The two last ones are both \x1b[Ma\xa46, and these I don't know.

\x1b[M is related to mouse control at least: https://www.xfree86.org/current/ctlseqs.html#Mouse%20Tracking

Then we get a, \xa4 and 6, which I still haven't figured out what they mean.

walles avatar Feb 13 '22 08:02 walles

i was reading a log and saw this issue and i saw only once .. infact i am out so not able to test it further

ciscohack avatar Feb 13 '22 08:02 ciscohack

Help wanted!

Either of these would be super helpful:

  • Explain to me what the escape sequences we're getting actually mean
  • Tell me how to repro this

walles avatar Apr 10 '22 13:04 walles