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

terminfo support (scrolling broken without TERM=xterm) #14

Open
Ericson2314 opened this issue Jan 21, 2020 · 10 comments
Open

terminfo support (scrolling broken without TERM=xterm) #14

Ericson2314 opened this issue Jan 21, 2020 · 10 comments

Comments

@Ericson2314
Copy link
Member

I noticed when using Alacritty that scrolling in reflex-ghci didn't work unless I set TERM=xterm. I would guess this means that reflex-vty isn't doing some terminfo black magic.

@3noch
Copy link
Member

3noch commented Jan 22, 2020

I presume ghcid works in that setting?

@ali-abrar
Copy link
Member

ali-abrar commented Jan 22, 2020 via email

@3noch
Copy link
Member

3noch commented Jan 23, 2020

True.

@mpickering
Copy link

I observed this as well.

@ali-abrar
Copy link
Member

ali-abrar commented Jan 24, 2020 via email

@Ericson2314
Copy link
Member Author

https://github.com/alacritty/alacritty/blob/master/extra/alacritty.info something from there (on phone so can't check directly)

@mpickering
Copy link

[matt@nixos:~/]$ echo $TERM
rxvt-unicode-256color

@ali-abrar
Copy link
Member

ali-abrar commented Jan 26, 2020 via email

@Ericson2314
Copy link
Member Author

{"font":{"size":4.5},"scrollback":{"faux_multiplier":-1,"multiplier":-1}}

That's it. Everything else is the default.

This problem has also been reported with urxvt and TERM=rxvt-unicode-256color.

@ali-abrar
Copy link
Member

This looks relevant: jtdaugherty/vty#199

I can confirm that running in alacritty with TERM=xterm-256color or setting the Graphics.Vty.Config termName value to xterm-256color makes mouse interaction work.

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

No branches or pull requests

4 participants