SCRIPTING

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

Lua Scripting

ori-term embeds a Lua scripting engine that lets you extend the terminal with your own logic. Hook into events, define custom commands, and automate workflows without modifying ori-term itself.

Event Hooks

Hook into terminal events to run custom logic whenever something happens -- a tab opens, a command finishes, focus changes, or any other lifecycle event.

Custom Commands

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

Full API

The scripting API exposes core terminal operations:

Custom Shaders

ori-term supports WGSL post-processing shaders applied as a full-screen pass on the GPU. Write your own visual effects or use built-in presets.

Shaders run entirely on the GPU with zero impact on terminal throughput. The post-processing pipeline composites your effect over the final rendered frame.