Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Warning on Moar running on macOS 12.2 #79

Open
ciscohack opened this issue Feb 10, 2022 · 3 comments
Open

Error Warning on Moar running on macOS 12.2 #79

ciscohack opened this issue Feb 10, 2022 · 3 comments

Comments

@ciscohack
Copy link

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 johan.walles@gmail.com.

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"

@walles
Copy link
Owner

walles commented Feb 13, 2022

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.

@ciscohack
Copy link
Author

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

@walles
Copy link
Owner

walles commented Apr 10, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants