may_redraw means the function is allowed to redraw. I assume this is
intended to be zero if the caller is going to redraw anyway but it doesn't
seem to be used consistently

no_reset looks to mean don't reset the selection to end of word/line if
cursor has changed, not sure exactly how this works, seems like something
to do with vi vs emacs cursor movement.




On Sat, 20 Aug 2022 at 10:46, E Varun Kumar <varunkumar...@gmail.com> wrote:

> window_copy_update_selection in window-copy.c takes two integer parameters
> may_redraw, no_reset. I have tried various values but could not notice any
> difference. Hence I went with the values 0,0. Could you explain these
> attributes?
>
> On Sat, Aug 20, 2022 at 3:09 PM E Varun Kumar <varunkumar...@gmail.com>
> wrote:
>
>> I have raised pull request 3307.
>>
>> On Sat, Aug 6, 2022 at 2:07 PM Nicholas Marriott <
>> nicholas.marri...@gmail.com> wrote:
>>
>>> Great, do you have any questions?
>>>
>>> You will need to change window-copy.c, it is fairly easy to add a new
>>> command (there is a table). You'll also need to add a new default key
>>> binding to the two copy mode tables in key-bindings.c.
>>>
>>>
>>>
>>> On Sat, 6 Aug 2022, 08:49 E Varun Kumar, <varunkumar...@gmail.com>
>>> wrote:
>>>
>>>> hi,
>>>> I would like to work on this issue 3159
>>>> <https://github.com/tmux/tmux/issues/3159>
>>>>
>>>> thanks,
>>>> Varun
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "tmux-users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to tmux-users+unsubscr...@googlegroups.com.
>>>> To view this discussion on the web, visit
>>>> https://groups.google.com/d/msgid/tmux-users/CAAJX8E%3D6cUDAtFx_TFv%2BBbw__As3GoMhniWuwMbGqDb0zZ1AQQ%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/tmux-users/CAAJX8E%3D6cUDAtFx_TFv%2BBbw__As3GoMhniWuwMbGqDb0zZ1AQQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to tmux-users+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/tmux-users/CAEdLfcH8QJ24X1XebBtoOW74kVVP4avFFBc21rr8Y0pWDOKb9A%40mail.gmail.com.

Reply via email to