implemented app.ed.edbuf and app.blog.bloged
This commit is contained in:
@@ -218,6 +218,7 @@ A simple line-oriented text editor and page-oriented text viewer for MicroPython
|
||||
Exports the following functions:
|
||||
|
||||
- `edit(filename)`: start an `ed`-like text editor (see below)
|
||||
- `edbuf()`: create an empty buffer, run the editor interface on it and return the result as a string (without creating any files)
|
||||
- `view(filename, lno=False)`: start a `more`-like pager for viewing a text file (pass an additional parameter to view it with line numbers)
|
||||
|
||||
The editor mode supports the following subset of POSIX ed commands in the standard `[range][command][param]` syntax:
|
||||
@@ -261,8 +262,9 @@ Requires the following environment variables to be configured (for T-Deck, use t
|
||||
|
||||
Exports the following functions:
|
||||
|
||||
- `blogpost()`: wait for a (multiline) input and send the post,
|
||||
- `blogpost_str(content)`: post the content in a non-interactive manner.
|
||||
- `blogpost()`: wait for a (multiline) input and send the post
|
||||
- `bloged()`: same as `blogpost()` but with a full-featured `app.ed` interface
|
||||
- `blogpost_str(content)`: post the content in a non-interactive manner
|
||||
|
||||
## FAQ
|
||||
|
||||
|
||||
Reference in New Issue
Block a user