Skip to main content

ansi_index

Function ansi_index 

Source
pub const fn ansi_index(n: u32, m: i32) -> u32
Expand description

The ANSI Z80.28 / OSA single index of mode (n, m): $j = (n(n+2) + m)/2$, from 0.

Last built: 2026-09-08 21:35:55 UTC