mirror of
https://github.com/hexedtech/codemp.git
synced 2024-11-21 23:04:49 +01:00
chore(js): added glue buffer list fn
This commit is contained in:
parent
be055c8e05
commit
a89b8a454c
1 changed files with 5 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue