Implement better support for SAF#476
Conversation
|
The non-json printed results are printed without a trailing newlines, is that on purpose? |
|
I thought that would be nice if you capture the output directly into a variable and not get the newline, but a JSON string and after that a newline is fine, too. Should I do that instead? |
|
Yes, newlines should exist for both json and normal string output so that Command Substitution like
|
…cument and readDocument.
|
Fixed that now. |
I implemented an interface to give Termux:API access to folders via SAF, list those folders, the contents, subfolders, create, delete, read and write files.
I also made a branch in my termux-api-package fork with utilities to use this new interface from the terminal.
This will close #475.