> ## Documentation Index
> Fetch the complete documentation index at: https://docs.otter-shell.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Glyphs and powerline

> PowerlineOps, BlockOps, and cell_glyphs in otter-vte.

## Powerline

```zig theme={null}
const vte = @import("otter_vte");

vte.drawPowerlineSeparator(cmds, rect, fg, bg, .right);
vte.drawPowerlineTriangle(cmds, rect, fg, bg, .left);
vte.drawPowerlineRound(cmds, rect, fg, bg, .right);
```

`PowerlineOps` and `PowerlineDirection` control separator geometry. Used by shell prompts and tab bars that mimic terminal powerline themes.

## Block glyphs

`BlockOps` draws block-drawing characters and heavy separators without font coverage gaps.

## Custom glyphs

`cell_glyphs.GlyphRects` maps special codepoints to pre-rasterized rects. Register glyphs for icons or private-use slots the primary font lacks.

## Color mapping

`ghosttyColor` converts terminal palette indices to `otter-render` `Color` for Ghostty-compatible themes.
