Struct glerminal::terminal::TerminalBuilder [] [src]

pub struct TerminalBuilder { /* fields omitted */ }

A builder for the Terminal. Includes some settings that can be set before building.

See terminal mod for examples and more detailed documentation.

Methods

impl TerminalBuilder
[src]

[src]

Creates a new terminal builder with default settings.

[src]

Sets the title for the Terminal.

[src]

Sets the dimensions the Terminal is to be opened with.

[src]

Sets the clear color of the terminal.

[src]

Changes the font that the terminal uses.

[src]

Changes the visibility that the terminal will be opened with. If headless, visibility will not matter.

[src]

Changes the visibility that the terminal will be opened with

[src]

Changes whether the aspect ratio should be retrieved from TextBuffer instead of the original resolution of the screen.

If set to false, the aspect ratio used to make black bars for the screen will be fetched from the original resolution of the screen; This will cause the fonts to strech a bit though.

If set to true (default), the aspect ratio will be fetched from the TextBuffer, causing almost any resolution to have black bars to make up for the missing spaces.

[src]

Builds the actual terminal and opens the window

Trait Implementations

Auto Trait Implementations