Skip to content

Conversation

@dolczykk
Copy link
Collaborator

No description provided.

@dolczykk dolczykk added the enhancement New feature or request label Apr 19, 2025
@dolczykk dolczykk self-assigned this Apr 19, 2025
@dolczykk dolczykk requested a review from Etheryen April 19, 2025 09:36
@dolczykk dolczykk linked an issue Apr 19, 2025 that may be closed by this pull request
Copy link
Contributor

@Etheryen Etheryen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One nit, z-index of options menu is wrong (displayed behind the VM), keyboard inputs falling-through while typing text inside the options seems to be unwanted behavior. Other than that, the debug-mode option making the debug-mode not enabled, but barely available is a bit unnatural, unless there is a reason for that.

let file_contents =
fs::read_to_string(path).map_err(|_| ConfigError::NotReadable)?;

match toml::from_str(&file_contents) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit:

toml::from_str(&file_contents)
    .map_err(|_| ConfigError::InvalidFileFormat)

is more idiomatic

@Etheryen Etheryen merged commit 02827c5 into main Apr 23, 2025
@Etheryen Etheryen deleted the feature/configuration branch April 23, 2025 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

user config options

3 participants