Looks like a bug in the unit tests to me, so not high priority to fix.
71/460 Test #71: SshSessionTests.RequestingInvalidTerminalPtyFails .........................................Subprocess aborted***Exception: 0.69 sec
Note: Google Test filter = SshSessionTests.RequestingInvalidTerminalPtyFails
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from SshSessionTests
[ RUN ] SshSessionTests.RequestingInvalidTerminalPtyFails
Start 72: SshSessionTests.CanResizePtyChannel
https://github.com/5cript/nui-sftp/actions/runs/25961161264/job/76316581879?pr=168
Looks like a bug in the unit tests to me, so not high priority to fix.