Skip to content

keyboard: Specify anchor when deleting characters via timeout

6e80f858 dropped the second cursor argument used as anchor when calling the delete function from the timeout. This was causing the early check that was trying to detect when deleting from the beginning of the text to fail, because anchor was now undefined.

Fixes: 6e80f858 ("keyboard: Move backspace key handling to KeyboardController")

Closes: #7484 (closed)

Edited by Sebastian Keller

Merge request reports