Open sinkevichmm opened 4 years ago
Thanks for the pr! Ill test your code tomorrow, so far it looks good!
Thanks for the pr! Ill test your code tomorrow, so far it looks good!
Ok!)
Okay so i havent gotten around to it... I'm a bit busy right now so ill try to get around to it. Maybe @mjarkk can take a look at it
When i run your example, on [3] the cursor value changes, but the cursor does not move. Is this the intended behaviour?
When i run your example, on [3] the cursor value changes, but the cursor does not move. Is this the intended behaviour?
Yes, this is an example with a wrap line that allows you to correctly display in view "props". The cursor has moved to a new line in the view array, but it is on the same line in the buffer array.
I mean that would of course be the expected result, however I fear that the tools that rely on Gocui are now expecting it to work wrong and would be confused if suddenly it worked right
I have been less active in the dev world since I'm very busy with university right now, so replies can take longer than expected
@sinkevichmm thank you for this PR.
Your functions SetViewLineUp
and SetViewLineDown
helped me to make the scrolling work again, as it was in the forked gocui.
awesome-gocui spoiled it completely.
@glvr182 any progress on the review?
Going to ask @mjarkk to take this
added functions BufferLinePosition, SetViewLineUp, SetViewLineDown and example.