chore(js): added glue buffer list fn

This commit is contained in:
frelodev 2024-09-26 09:54:56 +02:00
parent be055c8e05
commit a89b8a454c

View file

@ -36,6 +36,11 @@ impl Workspace {
self.user_list()
}
#[napi(js_name = "buffer_list")]
pub fn js_buffer_list(&self) -> Vec<String> {
self.buffer_list()
}
#[napi(js_name = "cursor")]
pub fn js_cursor(&self) -> CursorController {
self.cursor()