alacritty

Module display

Source
Expand description

The display subsystem including window management, font rasterization, and GPU drawing.

Modulesยง

Structsยง

Enumsยง

Constantsยง

  • Label for the backward terminal search bar.
  • DAMAGE_RECT_COLOR ๐Ÿ”’
    Color which is used to highlight damaged rects when debugging.
  • Label for the forward terminal search bar.
  • SHORTENER ๐Ÿ”’
    The character used to shorten the visible text like uri preview or search regex.

Functionsยง

  • compute_cell_size ๐Ÿ”’
    Calculate the cell dimensions based on font metrics.
  • window_size ๐Ÿ”’
    Calculate the size of the window given padding, terminal dimensions and cell size.