plover-textarea
Display a text area that can be controlled from other plugins or strokes.
Installation
This plugin can be installed from source on GitHub.
When it's released it can also be installed from PyPI (pip install plover-textarea)
or Plover's plugins manager.
Note
You need to enable the extension plugin.
Configuration
Currently only some UNIX systems/terminals (xterm) are supported. Qt GUI output is not supported.
You need to create a file textarea-config.json in Plover's configuration directory with the content:
{
"command": ["xterm", "-e", "cat /proc/$(echo $(ps -o ppid= $$))/fd/0"],
"escape_sequence_clear_window": "\u001B[H\u001B[J"
}
Usage
Define strokes like this
{
"A": "{plover:textarea_write:a:b}",
"A": "{plover:textarea_write:a:text\n}",
"A": "{plover:textarea_clear:a}",
"A": "{plover:textarea_close:a}",
"...": "..."
}
{} should be escaped.
The value before the first : is the window name. Must be provided.
It's not possible to specify a window name that contains :, but it's possible in the Python API.
Python API
Example code: (requires the extension plugin to be running)
from plover_textarea.extension import get_instance
get_instance().write("a", "text to write\n")
get_instance().clear("a")
get_instance().close("a")
Metadata
Release files for plover-textarea 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| plover-textarea-0.0.2.tar.gz | 16.6 kB | Without provenance | Details for plover-textarea-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| plover_textarea-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for plover_textarea-0.0.2-py3-none-any.whl |
Total release size: 33.2 kB
Release files / plover-textarea-0.0.2.tar.gz
| Download URL | plover-textarea-0.0.2.tar.gz |
|---|---|
| Size | 16.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
60eff5ccedbb8d61d3a2da07624f0ac77526265c6f6e5399436bf72d12dca4f9
|
|
BLAKE2b-256 checksum How to use checksums |
2179ad68ec0b7ec3413cb426a393ed21a01442dac54e63df0db5e6d6c9d4d2b5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.6.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.3
|
Release files / plover_textarea-0.0.2-py3-none-any.whl
| Download URL | plover_textarea-0.0.2-py3-none-any.whl |
|---|---|
| Size | 16.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
029b5d98f741e43d599640d2b3d0add4eeb908b483f415c711a40e91f58ff8c0
|
|
BLAKE2b-256 checksum How to use checksums |
e238f6e84e48965d501d39bf74234a9378147974e2c318dcd74abaab16fbbbba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.6.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.3
|
Security for plover-textarea 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.