Expand description
Shared interface for independently built ztty text extensions.
Native implementations are trusted code. They must not retain input/output references after a call. ztty validates the returned length and UTF-8 before committing a result. Change the interface version when changing signatures.
Structs§
- Text
Action Api - The frozen interface descriptor and typed proxy constructors.
- Text
Action Binding - A validated, borrowed interface binding. Create objects without rebinding.
- Text
Action Export - The generated plugin-side adapter. Use with zplugin::export!.
- Text
Action Proxy - An object that retains its plugin and caches its validated method table.
Constants§
- MAX_
TEXT_ BYTES - The host accepts at most this many UTF-8 input or output bytes per action.
Traits§
- Text
Action - Transform a selected string or the currently visible terminal text.