Commit graph

12 commits

Author SHA1 Message Date
zjp
b9283f6718 debug log 2023-05-13 22:41:02 +08:00
zjp
818d5cdc0e rm env_logger; use tracing instead 2023-05-12 19:13:50 +08:00
zjp
d1699dfaf1 introduce use env_logger
related to https://github.com/denisidoro/navi/issues/576

For the following config

cheats:
  paths:
    - C:\\Users\\Administrator\\AppData\\Roaming\\navi\\cheat
    - C:\\Users\\Administrator\\AppData\\Roaming\\navi\\cheat

navi now gets incorrect paths on Windows, since the seperator `:` for
path join is a valid component.

[2023-05-12T08:58:26Z DEBUG navi::commands::core] Filesystem(
        Some(
            "C:\\\\Users\\\\Administrator\\\\AppData\\\\Roaming\\\\navi\\\\cheat:C:\\\\Users\\\\Administrator\\\\AppData\\\\Roaming\\\\navi\\\\cheat",
        ),
    )
[2023-05-12T08:58:28Z DEBUG navi::filesystem] filesystem::Fetcher = Fetcher {
        path: Some(
            "C:\\\\Users\\\\Administrator\\\\AppData\\\\Roaming\\\\navi\\\\cheat:C:\\\\Users\\\\Administrator\\\\AppData\\\\Roaming\\\\navi\\\\cheat",
        ),
        files: RefCell {
            value: [],
        },
    }
2023-05-12 17:01:49 +08:00
Denis Isidoro
f8192a468e
Fix publish script (#825) 2023-04-09 10:08:42 -03:00
Denis Isidoro
e3920552ca
Add --prevent-interpolation flag (#824) 2023-04-08 21:53:48 -03:00
Denis Isidoro
f6414551bb
Prevent variable selection content from being limited to 3 columns (#821) 2023-04-08 21:13:27 -03:00
Denis Isidoro
8cf9c96e54
Update dependencies (#817) 2023-04-08 19:28:42 -03:00
TD-Sky
f0f8e83f06 Upgrade clap to 4.2.1 2023-04-04 17:49:16 +08:00
Fulvio Scapin
41aa47e280 Fix preview map "leaking" with multiple variables
With multiple variables in the preview, each with
different «--map» options, there is an application
of the map code for the current variable to the
preview of the other variables as well.
This code fixes that.
2022-08-21 21:54:42 +02:00
Denis Isidoro
9d862344e6
Minor code base improvements (#767) 2022-07-29 19:25:36 -03:00
Denis Isidoro
8b78d54863
Improve error handling for cheatsh and tldr (#766)
Fixes #695 and #703
2022-07-29 18:53:18 -03:00
Denis Isidoro
ebb02e28ec
Refactor code base (#760) 2022-07-28 20:11:42 -03:00