mirror of
https://github.com/Morantron/tmux-fingers.git
synced 2024-06-27 07:35:11 +02:00
26 lines
486 B
Crystal
26 lines
486 B
Crystal
module Fingers
|
|
class State
|
|
def initialize
|
|
@show_help = false
|
|
@multi_mode = false
|
|
@input = ""
|
|
@modifier = ""
|
|
@selected_hints = [] of String
|
|
@selected_matches = [] of String
|
|
@multi_matches = [] of String
|
|
@result = ""
|
|
@exiting = false
|
|
end
|
|
|
|
property :show_help,
|
|
:multi_mode,
|
|
:input,
|
|
:modifier,
|
|
:selected_hints,
|
|
:selected_matches,
|
|
:multi_matches,
|
|
:result,
|
|
:exiting
|
|
end
|
|
end
|