Problem 2: The previous state not being properly restored
Open the UI for the second time with resume: v:true, nothing is restored ā items are refreshed, the input text is gone, and the cursor position is lost.
I've confirmed that commenting out the following line fixed this problem.
Problem 1: Letters typed into the filter window gets rearranged in reverse
https://user-images.githubusercontent.com/1695538/157854457-4adab908-a8dd-4742-a17e-97639afb0c67.mov
I could fix the problem by commenting out this line of code:
https://github.com/Shougo/ddu-ui-ff/blob/cbd1117d134195cf7848451dc1844178e543aa68/denops/%40ddu-uis/ff.ts#L224
With the line commented out:
https://user-images.githubusercontent.com/1695538/157855624-b112facd-0faf-4446-b395-c40ec1314b7a.mov
Problem 2: The previous state not being properly restored
Open the UI for the second time with
resume: v:true
, nothing is restored ā items are refreshed, the input text is gone, and the cursor position is lost.I've confirmed that commenting out the following line fixed this problem.
https://github.com/Shougo/ddu-ui-ff/blob/cbd1117d134195cf7848451dc1844178e543aa68/denops/%40ddu-uis/ff.ts#L429