- Support sorting rows by a column (
Shift + ↓
orShift + j
) - Support CSV without headers via
--no-headers
- Add
--columns
,--filter
, and--find
options for filtering rows and columns
- Accept
"\t"
for tab as delimiter argument (#49 by @peterjc) - Add
-t
flag for tsv files (#47 by @JojiiOfficial) - Print lower level causes on error
- Fix panic caused by unicode and newline
- Migrate to Ratatui (#42 by @joshka)
- Better readline support using tui-input (move cursor forward / backward, jump to the start, etc)
- Improve buffer history to retrieve more than just the last input
This release adds support for the following:
- Show help page with key bindings (
H
) - Scroll to left most and right most columns (
Ctrl + ←
orCtrl + →
) - Scroll forward and backward half a window (
Ctrl + d
orCtrl + u
) - Resize columns (
<
or>
) - Reset to default view (
r
)
- Fix incorrectly truncated content due to highlighting
- Fix potential overflow panic
- Fix panic due to unicode handling
- Fix row height calculation to account for column widths properly
- Reduce maximum column width fraction to make more columns visible
- Support line wrapping for displaying long or multiline content
- Add
-d auto
option to auto-detect delimiter - Add
Home
andEnd
key bindings - Support row, column and cell selection modes (toggle via
TAB
)
- Implement --ignore-case option
- Fix crossterm double input issue on Windows
- Switch to Rust 2021 edition and update dependencies (#25)
- Fix crossterm panic by upgrading to version 0.26.1
- New styling for selected row
- Add --version option
- Add --echo-column option to print column's value at selected row to stdout
- Use stderr as tui buffer to support piping from csvlens
- Attempt to restore terminal state on panic
- Fix piped input not working on macOS
- Handle irregular CSV when calculating column widths
- Improved event loop handling
- Improved memory usage when creating temporary file from stdin
- Support filtering on columns
- Support basic command history
- Support horizontal scrolling
- Ensure terminal state is restored on error
- Fix bug where program sometimes crashes due to unicode characters
- Switch to
crossterm
- Support irregular CSV to some extent (parse CSV in non-strict mode)
- Support regex patterns in search and filter
- Support scrolling to top with
g