{ "name": "stfl", "version": "0.24", "summary": "STFL: the Structured Terminal Forms Language/Library, text forms over ncurses; newsboat's interface library", "category": "library", "license": "LGPL-3.0-or-later", "homepage": "https://github.com/newsboat/stfl", "source": { "url": "https://github.com/newsboat/stfl/archive/bbb2404580e845df2556560112c8aefa27494d66.tar.gz", "sha256": "c5e77dd2e40e14f0e68dd08df1f21cd1378d88d5001e7c1926ceb7c4a977ab86" }, "deps": [ "ncurses" ], "env_packages": [], "static": true, "nss": false, "check": "check_lib stfl 'stfl.h wchar.h' 'struct stfl_form *f = stfl_create(L\"vbox\\n label text[txt]:\\\"hello\\\"\\n\"); stfl_set(f, L\"txt\", L\"bvs value\"); const wchar_t *v = stfl_get(f, L\"txt\"); if (!v || wcscmp(v, L\"bvs value\")) return 1; const wchar_t *d = stfl_dump(f, L\"\", L\"\", 0); if (!d || !wcsstr(d, L\"text[\\\"txt\\\"]:\\\"bvs value\\\"\")) return 2; printf(\"stfl: %ls\\n\", d); stfl_free(f)' && echo 'stfl 0.24: a form made from its text, a bound variable set and read back, the form dumped with the value'" }