fix: print no longer prints newline, but added println.

This commit is contained in:
redxef 2025-03-02 18:36:38 +01:00
parent 2624b83a79
commit f3a6b4a225
Signed by: redxef
GPG key ID: 7DAC3AA211CBD921

View file

@ -74,7 +74,7 @@ namespace Jellyfin.Plugin.SmartPlaylist.Api {
}))); })));
return Lisp.Boolean.TRUE; return Lisp.Boolean.TRUE;
}; };
executor.builtins["print"] = (x) => { executor.builtins["println"] = (x) => {
sb.Append(string.Join(" ", x.Select((i) => { sb.Append(string.Join(" ", x.Select((i) => {
if (i is Lisp.String i_s) { if (i is Lisp.String i_s) {
return i_s.Value(); return i_s.Value();