aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* chore(deps): bump the github-actions group with 4 updatesdependabot/github_actions/github-actions-678bd20010dependabot[bot]4 days1-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps the github-actions group with 4 updates: [luarocks/gh-actions-lua](https://github.com/luarocks/gh-actions-lua), [vmactions/freebsd-vm](https://github.com/vmactions/freebsd-vm), [vmactions/openbsd-vm](https://github.com/vmactions/openbsd-vm) and [vmactions/netbsd-vm](https://github.com/vmactions/netbsd-vm). Updates `luarocks/gh-actions-lua` from 13 to 14 - [Release notes](https://github.com/luarocks/gh-actions-lua/releases) - [Commits](https://github.com/luarocks/gh-actions-lua/compare/85e2287697275df96334743ac654241a8fd34ab3...56eba09993704b908cc3c7c2753e630d18cb9696) Updates `vmactions/freebsd-vm` from 1.5.3 to 1.5.5 - [Release notes](https://github.com/vmactions/freebsd-vm/releases) - [Commits](https://github.com/vmactions/freebsd-vm/compare/83b151f58c6047089f4c80eb5ba2039d158ce093...f0552d3b69211736abd97f02ff3d4674c56b73b1) Updates `vmactions/openbsd-vm` from 1.4.6 to 1.4.7 - [Release notes](https://github.com/vmactions/openbsd-vm/releases) - [Commits](https://github.com/vmactions/openbsd-vm/compare/e6c68b637a12e83519688d115d57d5b0b53923cd...86cdc08415d9d0865267e686561e276c52d62530) Updates `vmactions/netbsd-vm` from 1.4.6 to 1.4.7 - [Release notes](https://github.com/vmactions/netbsd-vm/releases) - [Commits](https://github.com/vmactions/netbsd-vm/compare/00081e82b14bc40114eb97f32b4455306828516b...6334c835de4c04a59fe59f0f8f071e02a2f0bab3) --- updated-dependencies: - dependency-name: luarocks/gh-actions-lua dependency-version: '14' dependency-type: direct:production update-type: version-update:semver-major dependency-group: github-actions - dependency-name: vmactions/freebsd-vm dependency-version: 1.5.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: vmactions/openbsd-vm dependency-version: 1.4.7 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions - dependency-name: vmactions/netbsd-vm dependency-version: 1.4.7 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions ... Signed-off-by: dependabot[bot] <support@github.com>
* chore(deps): bump the github-actions group with 4 updates (#91)dependabot[bot]2026-08-151-4/+4
| | | Signed-off-by: dependabot[bot] <support@github.com>
* chore(deps): bump the github-actions group with 4 updates (#90)dependabot[bot]2026-07-312-8/+8
| | | Signed-off-by: dependabot[bot] <support@github.com>
* Add Dependabot for GitHub Actions and pin workflow actions (#89)Thijs Schreijer2026-07-313-7/+22
|
* chore(ci): add version commenst to pinned GHA deps (#88)Copilot2026-07-302-16/+8
| | | Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
* chore(ci): Pin actions to commits, remove yamlint (#87)Thijs Schreijer2026-07-022-23/+20
|
* Release v0.7.1 (#86)v0.7.1Thijs Schreijer2026-04-2619-49/+185
|
* fix(term): improved errorhandling, more descriptive (#85)Thijs Schreijer2026-04-262-12/+36
|
* Release v0.7.0 (#84)v0.7.0Thijs Schreijer2026-02-1720-25/+138
|
* chore(changelog): update changelog with several past changesThijs Schreijer2026-02-171-0/+8
|
* fix(wcwidth): add a generator for width rangesThijs Schreijer2026-02-1710-232/+745
| | | | | The generator script will parse official unicode data to create the actual ranges for 0, double, and ambiguous width characters.
* fix(compat): duplicate symbol when linking with luajit on windows (#81)Marc Jakobi2026-01-212-2/+2
|
* chore(test): relax test assertion wrt timeThijs Schreijer2026-01-171-2/+2
| | | | fixes #77
* chore(ci): drop macos-13Thijs Schreijer2026-01-091-3/+3
| | | | | the default 'latest' is arm based, so we add an exception for x86_64 against only Lua 5.5
* chore(ci): add Lua 5.5 to CI matrixThijs Schreijer2026-01-091-1/+5
|
* fix: remove two unused-variable warningsMatěj Cepl2025-11-052-2/+5
| | | | Signed-off-by: Matěj Cepl <mcepl@cepl.eu>
* Release v0.6.3 (#75)v0.6.3Thijs Schreijer2025-07-1119-20/+127
|
* chore(docs): update changelogThijs2025-07-111-0/+6
|
* fix(readkey): improve error handlingThijs2025-07-111-5/+9
| | | | | system.readkey now passes any errors from system._readkey on to the caller.
* fix(readkey): ignore stray windows keyboard scan-codesThijs2025-07-111-2/+13
|
* fix(term): report only printables as characters (#70)Thijs Schreijer2025-06-103-5/+21
| | | | readkey would return "char" as type for control characters, yet they are not printable.
* fix(ci): fix LuaJIT issue in CI (#71)Thijs Schreijer2025-06-091-1/+1
| | | see https://github.com/luarocks/luarocks/issues/1797
* fix(input): maximum sleep delay on backoff 0.1 seconds (#69)Thijs Schreijer2025-04-212-3/+7
| | | Current setting of 0.2 sometimes makes the response feel sluggish.
* fix(readme): fix the lint badge (#68)Thijs Schreijer2025-04-211-1/+1
|
* docs(terminal): reorganize terminal section into subsections (#66)Thijs Schreijer2025-04-2018-469/+530
|
* fix(ci): update Ubuntu to 24.04 (#67)Thijs Schreijer2025-04-201-1/+1
|
* release 0.6.2 (#65)v0.6.2Thijs Schreijer2025-04-1519-18/+109
|
* fix(term): autotermrestore was overwriting the metatable (#64)Thijs Schreijer2025-04-152-3/+9
|
* release 0.6.1 (#63)v0.6.1Thijs Schreijer2025-04-1319-19/+113
|
* fix(terminal): readansi now properly handles <alt>+key key-presses (#62)Thijs Schreijer2025-04-133-21/+78
| | | Also; documents the internal buffer and retry behaviour of readansi
* Release v0.6.0 (#61)v0.6.0Thijs Schreijer2025-04-1019-24/+165
|
* feat(term): detach fd of stderr+stdout to be independent (#59)Thijs Schreijer2025-04-103-2/+107
|
* fix(readkey): if sleep fails return the error (#60)Thijs Schreijer2025-04-073-3/+36
|
* Release v0.5.1v0.5.1Thijs Schreijer2025-03-1219-20/+114
|
* fix(random): on old glibc < 2.25, falback to /dev/urandomThijs Schreijer2025-03-122-5/+10
|
* fix(ci): forcefully uninstall bundled luasystemThijs Schreijer2025-03-041-7/+13
|
* chore(ci): add NetBSDThijs Schreijer2025-03-041-0/+19
|
* Release v0.5.0v0.5.0Thijs Schreijer2025-03-0220-37/+147
|
* feat(readkey): allow a sleep function to be passedThijs Schreijer2025-03-024-14/+22
| | | | | | There are cases where both a blocking and non-blocking sleep is needed. In those cases just poatching system.sleep isn't good enough. Hence now we can pass a sleep function.
* refactor(term): feature check, not platform checkThijs Schreijer2025-03-021-28/+43
|
* Add support for OpenBSD+FreeBSD platformscos2025-02-253-1/+46
|
* Reverse conditional compilation of non-POSIXcos2025-02-252-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As https://www.openbsd.org/faq/ports/guide.html#PortsGeneric states, it is inappropriate to base feature inclusion on a growing list (60b66fc, 9160d12) of excluded platforms. Thus this commit attempts to switch the assumption from Linux to a modern POSIX as the default target. Firstly, merely checking for __unix__ should be functionally equivalent of having a long lists of practically "all" operating systems. Apart from Windows, the primary non-standard code covers these termios related constants: I_IUCLC, O_OLCUC, O_OFILL, O_OFDEL, O_NLDLY, O_CRDLY and L_XCASE. A few of them are documented as LEGACY as they were removed from POSIX https://pubs.opengroup.org/onlinepubs/007904875/basedefs/termios.h.html over two decades ago. The other constants are part of the X/Open System Interfaces, which supposedly should be available when _XOPEN_UNIX is set to another value than -1. However on Linux they exist, yet the variable indicating their presence is undefined. In summary; It is hard to find any feature specific preprocessor variables indicating availability, but it is quite safe to limit their inclusion to Linux until patches arrive for other platforms. Executing `cpp -dM </dev/null | grep -i linux` on contemporary glibc and musl based distributions tend to give a few constants, where __linux__ likely is the one most suitable. Based on the previous state of the code, the following constants are expected to be available also on Apple: O_BSDLY, O_VTDLY and O_FFDLY. They do not appear be documented in termios(4) on macOS 13, but they actually exist in /Library/Developer/…/sys/termios.h. Lastly, O_TABDLY is kept excluded exclusively for NetBSD as that is the only currently supported platform lacking it.
* ci: Add FreeBSD vmactioncos2025-02-251-0/+17
|
* fix(ci): yamllint config file moved (#50)Thijs Schreijer2025-02-252-1/+1
|
* chore(ci): lint GH action workflows (#49)Thijs Schreijer2025-02-254-36/+67
| | | | Co-authored-by: cos <cos>
* refactor(random): on linux+bsd use api instead of /dev/urandomThijs Schreijer2025-02-102-5/+31
| | | | the api is faster and equally good
* chore(random): replace deprecated Windows APIThijs Schreijer2025-02-102-16/+5
|
* feat(terminal): also accept codepoint integers for width checkThijs Schreijer2025-02-103-15/+59
| | | | | Lua utf8 functions return codepoints, hence it makes sense to accept those, instead of having to convert to utf8 string and back again.
* fix(terminal): warning unused variableThijs2025-02-061-1/+1
|
* fix(terminal): failing NetBSD compilation, missing symbolsThijs Schreijer2025-02-062-5/+13
| | | | fixes #43