module Terminal

Extended Modules

Defined in:

styles.cr
terminal.cr

Instance Method Summary

Instance Method Detail

def highlight(source : String, language : String, theme : String | Nil) : String #

[View source]
def parse_color(color) #

[View source]
def query_terminal(color) : String #

[View source]
def show_image(path : String) : String #

[View source]
def supports_images? : Bool #

[View source]
def supports_links? : Bool #

[View source]
def terminal_light? : Bool #

[View source]
def theme(name : String | Nil = nil) : Hash(String, Style) #

[View source]