Term2::Components::FilePicker
Inherits Term2::Model < Reference < Object
Constructors
Class methods
Instance methods
allowed_types
Sourcecurrent_directory
Sourcedid_select_file?
Sourcedir_allowed?
Sourcedir_style
Sourcedir_style=(dir_style : Style)
Sourceerror
Sourceerror_style
Sourceerror_style=(error_style : Style)
Sourcefile_allowed?
Sourcefile_style
Sourcefile_style=(file_style : Style)
Sourcefiles
Sourcefilter_func
Sourcefilter_func=(filter_func : FilterFunc)
Sourcefilter_text
Sourcehandle_key(msg : KeyMsg)
Sourceheight
Sourceid
Sourceopen_selected
Sourceread_dir
Sourceselected_file
Sourceselected_index
Sourceselected_style
Sourceselected_style=(selected_style : Style)
SourceUpdate is called when a message is received. Use it to inspect the message and, in response, update the model and/or send a command.
view
View renders the program's UI, which is just a string. The view is rendered after every Update.
visible_files
Source