lbuffer
lbuffer copied to clipboard
Does not work properly under lua5.3
Hi,
I've successfully compiled and deployed lbuffer, but it does not work as expected under lua 5.3. it seems like 'append' and 'assign' are somehow missing:
$ lua5.3 -lbuffer Lua 5.3.4 Copyright (C) 1994-2017 Lua.org, PUC-Rio
b = buffer "abc" =b:set(2, "pple") apple =b:append "pie" stdin:1: attempt to call a nil value (method 'append') stack traceback: stdin:1: in main chunk [C]: in ? =b:insert(-3, '-') ap-ple =b:assign "abc" stdin:1: attempt to call a nil value (method 'assign') stack traceback: stdin:1: in main chunk [C]: in ?
please advise
Thanks for report. I will look into this.
poke. I'm seeing the same thing.
I have made some changes on interface but not update the documents. I will update when I have time 😢