Skip to content

Commit

Permalink
chore(js): added glue clear callback fn for cursor controller
Browse files Browse the repository at this point in the history
  • Loading branch information
frelodev committed Sep 26, 2024
1 parent 0b471b7 commit be055c8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/ffi/js/cursor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ impl CursorController {
Ok(())
}


#[napi(js_name = "clear_callback")]
pub fn js_clear_callback(&self) {
self.clear_callback();
}

#[napi(js_name = "send")]
pub async fn js_send(&self, pos: JsCursor) -> napi::Result<()> {
Expand Down

0 comments on commit be055c8

Please sign in to comment.