You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> thread '<unnamed>' panicked at 'attempt to calculate the remainder with a divisor of zero', /cargo/registry/src/github.jparrowsec.cn-1ecc6299db9ec823/skim-0.6.8/src/util.rs:174:23
The line takes the modulo of tabstop, which is set to zero by default (I believe this should just be 8 and this bug is gone). It only changes its value, when Options::tabstop is set here, interestingly the default of 8 is used here should parsing fail.
Hence, the workaround for library users currently is:
let options = SkimOptionsBuilder::default()
.tabstop(Some("8"))
The text was updated successfully, but these errors were encountered:
The crash looks like this:
The line takes the modulo of
tabstop
, which is set to zero by default (I believe this should just be 8 and this bug is gone). It only changes its value, whenOptions::tabstop
is set here, interestingly the default of 8 is used here should parsing fail.Hence, the workaround for library users currently is:
The text was updated successfully, but these errors were encountered: