diff options
author | bfredl <bjorn.linse@gmail.com> | 2023-03-13 20:38:21 +0100 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2023-03-14 11:01:45 +0100 |
commit | 0f1e2b6686694d878795fa090d4a08ba0f8acb4d (patch) | |
tree | fa53e1ecbce1699fa3cb91fcb8d1a463ac748372 /test/functional/ui/screen.lua | |
parent | f01f18cdf4ffc3ce035db5fde2f45493eebb7fd9 (diff) | |
download | rneovim-0f1e2b6686694d878795fa090d4a08ba0f8acb4d.tar.gz rneovim-0f1e2b6686694d878795fa090d4a08ba0f8acb4d.tar.bz2 rneovim-0f1e2b6686694d878795fa090d4a08ba0f8acb4d.zip |
fix(screen): redraw the ruler for a current floating window
Semi-regression. The "ruler" behavior for a floating window
was never really specified but in practice followed the users
cursor movements in normal mode in a focused float, which seems
like a reasonable behavior to now specify.
Diffstat (limited to 'test/functional/ui/screen.lua')
-rw-r--r-- | test/functional/ui/screen.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/ui/screen.lua b/test/functional/ui/screen.lua index f5ae9c8e89..83424d3bea 100644 --- a/test/functional/ui/screen.lua +++ b/test/functional/ui/screen.lua @@ -1351,7 +1351,7 @@ local function fmt_ext_state(name, state) for k,v in pairs(state) do str = (str.." ["..k.."] = {win = {id = "..v.win.id.."}, topline = " ..v.topline..", botline = "..v.botline..", curline = "..v.curline - ..", curcol = "..v.curcol..", linecount = "..v.linecount..", scroll_delta = "..v.scroll_delta.."};\n") + ..", curcol = "..v.curcol..", linecount = "..v.linecount..", sum_scroll_delta = "..v.sum_scroll_delta.."};\n") end return str .. "}" elseif name == "float_pos" then |