arakiken / mlterm

Other
147 stars 13 forks source link

The width of scrollbar #64

Closed linwaytin closed 1 year ago

linwaytin commented 1 year ago

First I really want to thank the developers for this package. It's fast, lightweight, and supports CJK.

One problem I have is about the width of the scrollbar. Maybe because I have a HiDPI screen, the scrollbar is quite narrow. Is there a way to change the width?

Thank you.

arakiken commented 1 year ago

Thanks. I added --sdpr option to determine the width of "simple" (default) scrollbar. Starting mlterm with --sdpr 2 option doubles the width of "simple" scrollbar. There is no way to widen scrollbars except "simple" for now.

https://github.com/arakiken/mlterm/commit/c3a20458e8e3e93cf696c8802da793105d94fab1

linwaytin commented 1 year ago

Thank you. I just tried it and that's indeed what I want. It would be nice to make it work for other scrollbars, since the HiDPI screens are more common and many users like me have a high-resolution setting.