class Fingers::MatchFormatter

Defined in:

fingers/match_formatter.cr

Constructors

Instance Method Summary

Instance methods inherited from class Fingers::Formatter

format(hint : String, highlight : String, selected : Bool, offset : Tuple(Int32, Int32) | Nil) format

Constructor Detail

def self.new(hint_style : String = Fingers.config.hint_style, highlight_style : String = Fingers.config.highlight_style, selected_hint_style : String = Fingers.config.selected_hint_style, selected_highlight_style : String = Fingers.config.selected_highlight_style, backdrop_style : String = Fingers.config.backdrop_style, hint_position : String = Fingers.config.hint_position, reset_sequence : String = "\e[0m") #

[View source]

Instance Method Detail

def format(hint : String, highlight : String, selected : Bool, offset : Tuple(Int32, Int32) | Nil) #

[View source]