bring template-live's protocol in sync with template-live-editor
[?]
Jan 14, 2023, 8:38 PM
JUTECG5XRUNBOJIPKEYZ4I2225AAOCGQKVJN2UAENUBZK2FG2XGACDependencies
- [2]
T3LA4DVGnew command: batch GET - [3]
BKNIUJGYupdate protocol so driver shows syntax errors - [4]
TNRO6KLZnew live app - [5]
BXXTVMBQbetter organization of errors
Change contents
- edit in main.lua at line 164
if on.code_change then on.code_change() end - replacement in main.lua at line 252
app.send(table.concat(result, '\n--fw: definition boundary--\n'))local delimiter = '\n==fw: definition boundary==\n'app.send(table.concat(result, delimiter)..delimiter) -- send a final delimiter to simplify the driver's task - replacement in main.lua at line 342
if on.keypressed then on.keypressed(key, scancode, isrepeat) endif on.key_press then on.key_press(key, scancode, isrepeat) end - replacement in main.lua at line 350
if on.textinput then on.textinput(t) endif on.text_input then on.text_input(t) end - replacement in main.lua at line 354
if on.keyreleased then on.keyreleased(key, scancode, isrepeat) endif on.key_release then on.key_release(key, scancode, isrepeat) end - replacement in main.lua at line 358
if on.mousepressed then on.mousepressed(x,y, mouse_button) endif on.mouse_press then on.mouse_press(x,y, mouse_button) end - replacement in main.lua at line 362
if on.mousereleased then on.mousereleased(x,y, mouse_button) endif on.mouse_release then on.mouse_release(x,y, mouse_button) end