SCRIPTING

Planned — Lua event hooks, custom commands, and WGSL post-processing shaders.

This feature is on the roadmap and not yet implemented.

The design is outlined below. See the roadmap for current status.

Lua Scripting

ori-term will embed a Lua scripting engine for extending the terminal with custom logic. Hook into events, define custom commands, and automate workflows.

Event Hooks

Register callbacks for terminal events — tab opens, command finishes, focus changes, and other lifecycle events.

Custom Commands

Define commands accessible from the command palette. Add project-specific shortcuts, workflow automations, or anything else you need.

Custom Shaders

WGSL post-processing shaders applied as a full-screen pass on the GPU. CRT scanlines, bloom, and custom visual effects — all running on the GPU with zero impact on terminal throughput.