Print_Color module

console_attributes_for

procedureSource

The Windows console attribute word that shows color and style on top of current. A foreground color changes only the foreground and a background color only the background.

console_attributes_for :: (
    current: u16,
    color: Console_Color,
    style: Console_Style = .NORMAL
) -> u16

Parameters

current: u16
style: Console_Style = .NORMAL

Returns

u16

See also