readline: y in cursorTo is optional
Parameter y
in cursorTo()
is optional and this is also verified by tests but docs don't state this. Besides that if the newly added parameter callback
is used but no y
it's quite unhandy. This PR allows to simply omit y
.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines