patch 8.2.4801: fix for cursorbind fix not fully tested

Problem:    Fix for cursorbind fix not fully tested.
Solution:   Add another test case. (Christian Brabandt, closes #10240)
diff --git a/src/testdir/test_cursorline.vim b/src/testdir/test_cursorline.vim
index e7c2d0b..e5b2113 100644
--- a/src/testdir/test_cursorline.vim
+++ b/src/testdir/test_cursorline.vim
@@ -297,7 +297,7 @@
   CheckScreendump
 
   let lines =<< trim END
-      call setline(1, 'aa bb cc dd ee ff gg hh ii jj kk ll mm' .. 
+      call setline(1, 'aa bb cc dd ee ff gg hh ii jj kk ll mm' ..
       \ ' nn oo pp qq rr ss tt uu vv ww xx yy zz')
       set nowrap
       " The following makes the cursor apparent on the screen dump
@@ -320,6 +320,10 @@
   call VerifyScreenDump(buf, 'Test_hor_scroll_3', {})
   call term_sendkeys(buf, "10l")
   call VerifyScreenDump(buf, 'Test_hor_scroll_4', {})
+  call term_sendkeys(buf, ":windo :set nocursorline nocursorcolumn\<cr>")
+  call term_sendkeys(buf, "0")
+  call term_sendkeys(buf, "40l")
+  call VerifyScreenDump(buf, 'Test_hor_scroll_5', {})
 
   call StopVimInTerminal(buf)
   call delete('Xhor_scroll')