Skip to main content

Module list_tui

Module list_tui 

Source
Expand description

A list to browse, flat or a tree: the names of a matrix’s rows or columns (row-names, column-names), or the hierarchy of a file (list-h5, list-zarr).

/ filters (case-insensitive, a regular expression when the text is one), Space marks, a marks every entry shown and u clears the marks, w writes the marked entries (or, with none marked, those shown) to a file, one per line, and y copies them (or the entry under the cursor) to the clipboard. In a tree, Enter or →/← open and close a group; an entry’s name is then its path from the root.

Structs§

Item
One entry: its name, how deep it sits (0 at the top), and a note shown beside it (an array’s shape and type, say).
ListView
The browser, independent of the terminal so it can be tested.

Functions§

browse_in
Browse view on the screen of tui until q.