1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-01-24 05:36:19 +02:00
Jesse Duffield add1de4138 Use boolean field to control whether viewport is refreshed on line focus
Go really doesn't like us doing anything inheritance-y: it does not support open recursion meaning
it's really hard to re-use code. As such, here we're falling back to conditional logic.

This fixes an issue where our ListContextTrait was calling FocusLine which was intended to be
overridden by ViewportListContextTrait, but the subclassed function wasn't being called. I'm
not actually sure how this went wrong given that it was working fine in the past, but at any rate,
the new code is easy to follow.
2023-05-25 17:09:18 +10:00
..
2023-05-21 11:31:29 +10:00
2023-05-16 13:20:03 +02:00
2023-02-26 12:54:13 +11:00
2023-05-21 11:31:29 +10:00
2023-05-23 20:23:08 +10:00
2023-05-23 19:15:33 +10:00
2023-05-21 10:46:13 +10:00
2023-05-21 12:09:43 +10:00