← All compilation units

Flyology_TUI.Backends.POSIX

Description

Close

procedure Close (Item : in out POSIX_Backend)
Parameters
Item

Color_Policy

function Color_Policy
  (Item : POSIX_Backend) return Flyology_TUI.Color_Profiles.Policy
Parameters
Item
Return value

Color_Profile

function Color_Profile
  (Item : POSIX_Backend) return Flyology_TUI.Color_Profiles.Profile

Return the profile resolved by Open. Calling this while closed raises Backend_Error.

Parameters
Item
Return value

Current_Size

procedure Current_Size
  (Item      : POSIX_Backend;
   Width     : in out Natural;
   Height    : in out Natural;
   Available : in out Boolean)
Parameters
Item
Width
Height
Available

Interrupt

procedure Interrupt (Item : in out POSIX_Backend)
Parameters
Item

Next_Event

procedure Next_Event
  (Item   : in out POSIX_Backend;
   Event  : out Flyology_TUI.Events.Terminal_Event;
   Status : out Input_Status)
Parameters
Item
Event
Status

Open

procedure Open (Item : in out POSIX_Backend)
Parameters
Item

POSIX_Backend

type POSIX_Backend is
  new Ada.Finalization.Limited_Controlled and Backend with private;

Render

procedure Render
  (Item : in out POSIX_Backend;
   View : Flyology_TUI.Views.View)
Parameters
Item
View

Set_Color_Policy

procedure Set_Color_Policy
  (Item   : in out POSIX_Backend;
   Policy : Flyology_TUI.Color_Profiles.Policy)

Override environment-based color detection for the next Open. Changing this policy while the backend is open raises Backend_Error.

Parameters
Item
Policy