console.inverse()

Swaps the text color and the background color of the console until another call to this function.

Return value

The function returns no value.

Example

local console = require "console" console.inverse() print("Hello World (inversed !)")