class

Crubbletea::Bubbles::FilePicker::Model

Inherits Reference < Object

Constructors

new(current_dir : String = Dir.current, width : Int32 = 40, height : Int32 = 10, cursor : String = ">", style : Lipgloss::Style = Lipgloss::Style.new, selected_style : Lipgloss::Style = Lipgloss::Style.new.reverse(true), dir_style : Lipgloss::Style = Lipgloss::Style.new.bold(true), allowed_types : Array(String) = [] of String, show_hidden : Bool = false)
Source

Instance methods

allowed_types
Source
current_dir
Source
current_dir=(dir : String) : Nil
Source
cursor
Source
did_select?
Source
dir_style
Source
files
Source
height
Source
index
Source
selected_file
Source
selected_style
Source
show_hidden
Source
style
Source
view
Source
width
Source

Nested types