muennich/sxiv — Issue #25: Invalid file number and count
Author: xaizek
Created: 2011-10-30 20:29:36+00:00
State: open

Hi,

suppose you have these two files in the current directory:
- TODO - a text file
- pic.jpg - some picture
after running `sxiv -n 2 TODO pic.jpg` sxiv shows `[2/2]...` in the title. After pressing `Enter` key sxiv switches to thumbnail mode and shows only one thumbnail like it should, but now title contains `[2/1]...` and no thumbnail is selected (one needs to use `j` and `h` keys until current file number is less than file count).