aboutsummaryrefslogtreecommitdiffstats
path: root/commands.c
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2022-10-30 19:18:44 +0100
committerNRK <nrk@disroot.org>2022-10-30 19:18:44 +0100
commit045abbd117dc327a8636a5afd19252c53d6880aa (patch)
tree376ea1f4ac884cd8c4d9ca5491d3ccc77b15adf0 /commands.c
parent314063804293ff37ece428b512f8138ecd1eb7fc (diff)
downloadnsxiv-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 'commands.c')
0 files changed, 0 insertions, 0 deletions