Releases: mkdior/terminal-table-viewer
Release list
v0.23.4
Download the archive for your platform below, extract it and put ttv on
your PATH (for example /usr/local/bin or ~/.local/bin); see the
README for
details. checksums.txt holds the SHA-256 sum of every asset.
Changes since v0.23.3
acd96e1 ~ -- bump version to `v0.23.4`
9df3346 ~ -- every removal copies what it removes to the clipboard, as vim does with clipboard=unnamedplus: x cuts the cell (or the selected cells) and empties it, dd, d with a motion and visual d send the rows or columns (columns with their header); the removal never waits for the clipboard and a failed copy is only noted in the footer - -- drop X: it duplicated dd and visual d now that those copy to the clipboard ~ -- x fills the register with the cut cells, so p puts them down ~ -- keep the tests away from the real clipboard: TestMain finds no tool, and the editing tables get a stub
Full diff: v0.23.3...v0.23.4
v0.23.3
Download the archive for your platform below, extract it and put ttv on
your PATH (for example /usr/local/bin or ~/.local/bin); see the
README for
details. checksums.txt holds the SHA-256 sum of every asset.
Changes since v0.23.2
97a42df ~ -- bump version to `v0.23.3`
d076d1c ! -- run the clipboard tool in the background so a yank never freezes the table; the footer says the yank is done and the tool running, then which channels took the text, and a tool still running after ten seconds is given up on ~ -- do not wait for a tool's forked children (xclip, wl-copy keep their pipes open while serving the selection) ~ -- X removes as soon as a clipboard channel can take the text; a tool failure is reported afterwards and the cut stays in the register
9c2ffb7 + -- show a cell that lists several items one item per line in the full-value box; split_items and separator in [preview] turn it off or change the separator, and a list too long for the box falls back to the wrapped text
250f016 + -- wrap_columns option in a new [movement] config section: h, l, w and b stop at the first and last column as in vim unless it is on ~ -- horizontal motions no longer wrap around by default
e5aa697 ! -- count the rows of a visual selection after a counted motion (V 20j showed the size from before the jump); the footer redraw deferred after a motion evaluated its arguments before the move ~ -- extract the table's selection-changed callback and skip its throttle in visual mode, so the selection size follows every move
Full diff: v0.23.2...v0.23.3
v0.23.2
Download the archive for your platform below, extract it and put ttv on
your PATH (for example /usr/local/bin or ~/.local/bin); see the
README for
details. checksums.txt holds the SHA-256 sum of every asset.
Changes since v0.23.1
9bc8f6a ~ -- bump version to `v0.23.2`
2775c69 ! -- pin the horizontal offset before each draw so a forward layout always shows the selected column in full; tview laid out the frame after Select ending with the selection but the next redraw packed forward from the same offset, so a column cut on the left moved to the right and the view shifted on a key that changed nothing (z, zc on a partially visible column)
7afb95e ~ -- README: render key bindings, flags, filter operators, clipboard tools, theme roles and config options as lists instead of run-together lines, split the Editing section into sub-sections, and fix the stale i for statistics
Full diff: v0.23.1...v0.23.2
v0.23.1
Download the archive for your platform below, extract it and put ttv on
your PATH (for example /usr/local/bin or ~/.local/bin); see the
README for
details. checksums.txt holds the SHA-256 sum of every asset.
Changes since v0.23.0
b0d58c4 ~ -- bump version to `v0.23.1`
35f2ba9 + -- show the column name and the value in the preview box whenever the cursor is on a hidden column, not only for cut values ! -- widen the preview box to fit its title
7e57700 ! -- make the focused button of the quit prompt the bright one and the others plain, so the choice about to be made is visible (all three looked alike) + -- answer the quit prompt with w, d, c as well as Esc, and say so in its text ~ -- route quitting through stopApp so tests can press each button and check what it does
Full diff: v0.23.0...v0.23.1
v0.23.0
Download the archive for your platform below, extract it and put ttv on
your PATH (for example /usr/local/bin or ~/.local/bin); see the
README for
details. checksums.txt holds the SHA-256 sum of every asset.
Changes since v0.22.0
4b0e6a1 ~ -- bump version to `v0.23.0`
48337f9 + -- hide columns like vim folds: zc collapses the column to a dimmed » marker, zo shows it, za toggles, zR shows all (visual mode acts on the selection); the footer names a hidden column under the cursor, editing a hidden cell opens it, and hidden flags follow their columns through removals, insertions and undo
4875102 + -- tint the row under the cursor with the new cursorline theme role, so the current row can be followed across a wide table while the selected cell keeps the bright cursor style
64d5662 + -- add row and column insertion: ir/or insert an empty row above/below and start typing in it, ic/oc insert an empty column left/right and open its header for a name (sc-im keys), with counts, visual-mode placement, undo and the pending summary ~ -- insertColumns reports the previous row slices so undoing a column insertion gives reallocated rows their old identity back ! -- arm the chord timer only while the UI runs
dc17c70 + -- resolve a key that is both a binding and the start of a chord the way vim's timeoutlen does: it waits half a second for the next key and runs on its own when none comes; the config no longer rejects such prefixes ~ -- factor the post-resolution key handling into dispatch and show pending chord keys in the footer slot
Full diff: v0.22.0...v0.23.0
v0.22.0
Download the archive for your platform below, extract it and put ttv on
your PATH (for example /usr/local/bin or ~/.local/bin); see the
README for
details. checksums.txt holds the SHA-256 sum of every asset.
Changes since v0.21.0
7b95e09 + -- bind ^ to first_column as well, so 0 can be unbound by users who mistype it while entering a count
e423ef7 ! -- show a typed count or pending operator in a fixed 8-column slot at the right edge of the footer, so the footer no longer shifts while a count is typed
2a5e393 ! -- keep the horizontal scroll where it was on vertical motions: gg and G no longer call tview's ScrollToBeginning/ScrollToEnd, which zero the column offset and made the columns on screen jump
d00954f ~ -- bump version to `v0.22.0`
0b77e5c + -- add p and P to paste the last yank or removal over cells: y, Y, visual y, X and d fill an in-app register; a single value fills the visual selection, a block is laid out from the cursor and clipped to the table; the cell editor's register is used when the table register is empty
5607c3c + -- add bulk editing in visual mode like vim's block insert: i (or Ctrl-I), a and cc open the editor on the first selected cell and Esc or Enter applies the typed text to every selected cell as one undo step ~ -- factor cell writes into setCells and rectTargets, shared by clear and bulk edit
9b34bcf ! -- hide the terminal cursor when the cell editor leaves insert mode or closes; tview only hides it on a focus change, so it stayed on screen and followed the scrolling table ! -- ignore mouse events while a cell is being edited, so the table cannot scroll away from the editor + -- let a vertical table motion (j, k, paging, G) in the editor's normal sub-mode apply the value and move on
Full diff: v0.21.0...v0.22.0
v0.21.0
Download the archive for your platform below, extract it and put ttv on
your PATH (for example /usr/local/bin or ~/.local/bin); see the
README for
details. checksums.txt holds the SHA-256 sum of every asset.
Changes since v0.20.0
f3c610f ~ -- bump version to `v0.21.0`
5e995b9 ~ -- README: 2d3j removes seven rows as in vim; note code-point cursor motion and Ctrl-C in the editor
03f2f54 ! -- record an insert applied with Enter for ., refuse r after an operator, saturate counts, count text objects and dot repeat, make visual p one undo step ~ -- draw the cell editor by grapheme so combining marks stay on their base
8b8a911 ! -- write backups through a temp file linked to a fresh final name, prune only after the write is committed, hash the absolute path with 64 bits, keep the default backup dir private and ignore a relative XDG_STATE_HOME ! -- reject unknown keys in the config file instead of silently keeping defaults ! -- detect hard links on Windows through GetFileInformationByHandle ! -- let Ctrl-C act as Esc in the cell editor and give the focus back to the open dialog when the quit prompt is cancelled
67c0107 ! -- reach absolute motions with a count typed before d (2dG, 1dG, 2d3G) instead of dropping it ! -- re-derive a filtered view after clearing or changing cells, so rows that stop matching disappear at once
b4f06ef ~ -- document editing, writing and backups in the README: key bindings, an Editing section, the [backup] config section, _ for the width limit and I for statistics
5d0acab + -- add a vim line editor for cells: E opens the cell (i and a start inserting, cc clears it first) with motions, counts, d c y operators, text objects, registers, undo and redo, dot repeat, charwise visual and replace mode; Enter applies, Esc cancels ~ -- move stats from i to I to free i for insert + -- describe editing in the help dialog
206f53b + -- keep a private copy of the previous version in $XDG_STATE_HOME/ttv/backup on every write, named <file>.<path hash>.<timestamp>, pruned to [backup] keep versions; configurable with [backup] enabled and dir
15e1d7a + -- add W to write the table back to the file: atomic temp-and-rename next to the real file, gzip by name, RFC 4180 quoting only where needed, refused for pipes, partial loads, skip/column flags, NaN padding, read-only or hard-linked files or a file changed on disk + -- ask to write, discard or cancel when quitting with pending edits, and route Ctrl-C through the same prompt ~ -- move toggle_width from W to _
04fa488 + -- add vim-style editing of the table structure: d operator (dd, d+motion), visual d, x clears cells, X cuts to the clipboard, u undoes; edits are staged and summarised in the footer with a [+] marker ~ -- make sort an undoable edit applied to the unfiltered table ~ -- set IsComplete after post-processing so edits wait for type detection and interning
ca38c28 + -- add row and column removal and reinsertion, cell set and order restore to the buffer, keeping row slices as stable identities
2aba960 ~ -- README: use tab-delimited git log example
Full diff: v0.20.0...v0.21.0
v0.20.0
Download the archive for your platform below, extract it and put ttv on
your PATH (for example /usr/local/bin or ~/.local/bin); see the
README for
details. checksums.txt holds the SHA-256 sum of every asset.
Changes since v0.11.1
5732ac9 ~ -- bump version to `v0.20.0`
3473870 ~ -- clean up readme and assets.
b82fa09 ~ -- rebrand under Apache to avoid confusion
Full diff: v0.11.1...v0.20.0