nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC] a scroll bar on the right that shows position and portion


From: Marco Diego Aurélio Mesquita
Subject: Re: [RFC] a scroll bar on the right that shows position and portion
Date: Fri, 24 Apr 2020 00:53:49 -0300

On Thu, Apr 23, 2020 at 10:19 PM Brand Huntsman <address@hidden> wrote:
> The patch is missing some spaces between "if(" and "for(".
>

Thanks for the heads up. Attached version fixes these issues.

> Maybe add two colors for scrollbar indicator and background. The A_DIM
> is a good default (if more than just xterm supports it) but anyone who
> enables scrollbar on urxvt or another brokwn terminal could change the
> colors to make it work. You can clean up the attached patch and merge it
> into the scrollbar patch if custom colors are okay.
>

I think it is possible to do a bit better with less code. Attached
patch 2 allows us to use "scrollbarcolor " to set both foreground and
background colors of the scrollbar.

Attachment: 0001-Implement-vertical-scrollbar.patch
Description: Text Data

Attachment: 0002-Allow-scrollbar-colors-to-be-set.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]