diff options
author | NRK <nrk@disroot.org> | 2022-10-30 19:18:44 +0100 |
---|---|---|
committer | NRK <nrk@disroot.org> | 2022-10-30 19:18:44 +0100 |
commit | 045abbd117dc327a8636a5afd19252c53d6880aa (patch) | |
tree | 376ea1f4ac884cd8c4d9ca5491d3ccc77b15adf0 /thumbs.c | |
parent | 314063804293ff37ece428b512f8138ecd1eb7fc (diff) | |
download | nsxiv-045abbd117dc327a8636a5afd19252c53d6880aa.tar.zst |
accept directory via stdin (-i) (#383)
this basically just extracts the logic that was previously inside
`main()` into a seperate function `add_entry()` so that it can be used
for accepting entries form stdin as well.
Closes: https://codeberg.org/nsxiv/nsxiv/issues/382
Reviewed-on: https://codeberg.org/nsxiv/nsxiv/pulls/383
Reviewed-by: Berke Kocaoğlu <berke.kocaoglu@metu.edu.tr>
Diffstat (limited to 'thumbs.c')
0 files changed, 0 insertions, 0 deletions