y-ack / e

2 stars 1 forks source link

lua scripting #5

Open y-ack opened 3 years ago

y-ack commented 3 years ago

clean up implementations and expose to lua 😔

ilovecherries commented 3 years ago

every single the key press should go through lua interpreter

ilovecherries commented 3 years ago
function some_action(yew)
  yew.buffer:insert_at_point(3, 2, "hello ")
  yew.window:insert_at_cursor("hello, world!")
end