Federico Stra
Federico Stra
Sorry that I didn't find #249, I searched a bit through the issues but couldn't find anything similar. The problem of initializing C libraries is quite serious indeed, but I...
I'm not arguing that it is a good coding practice in production code (it most definitely isn't), but I feel the issue comes up quite naturally while prototyping. Imagine that...
I can replicate the same panic and provide additional information. Here is what I did. I compiled Broot (current `master` at 3474c157ec41cc9fc17b4923903737faddcc87d8) in `dev` mode after enabling the debug info...
The offending instruction is https://github.com/Canop/broot/blob/3474c157ec41cc9fc17b4923903737faddcc87d8/src/pattern/tok_pattern.rs#L91 which in my case get's called with ``` self = TokPattern { toks: [['i', 'm', 'm']], sum_len: 3 } candidate = "😍" cand_chars = ['😍']...
The source of the bug seems to stem from a confusion between indexing a `&str` as if it were a `&[u8]` vs. treating it as a sequence of Unicode codepoints....
> BTW, I was thinking about deprecating tokens search, which is almost useless IMO (which doesn't mean I don't want to fix it). I think the biggest problem is that...
Any update on this?
Maybe the option `none` could be added to `highlightStyle` that doesn't inject any _Highlight.js_ CSS in the generated `` and then we could simply select the preferred style by putting...
On a similar note, I recently discovered that one can do `counter(page).display("1 of 1", both: true)`, but the argument `both` is not documented in [`counter.display`](https://typst.app/docs/reference/meta/counter/#methods--display).
I should add that I managed to work around the bug by removing the commented lines, i.e. using the config ```ini [AppImageLauncher] ask_to_move=true destination=/home/me/.local/bin enable_daemon=false ```