Skip to content

fix: respect calc-command-history option from config file#149

Open
Jontos wants to merge 1 commit intosvenstaro:masterfrom
Jontos:fix/respect-history-config
Open

fix: respect calc-command-history option from config file#149
Jontos wants to merge 1 commit intosvenstaro:masterfrom
Jontos:fix/respect-history-config

Conversation

@Jontos
Copy link
Contributor

@Jontos Jontos commented Feb 17, 2026

After my last PR, I noticed that calc-command-history wasn't working as a config file option; it only worked when passed on the command line.

Since set_config already calls find_arg and rofi_theme_find_property to populate pd->config.calc_command_uses_history, this patch changes calc_mode_result to check that instead.

This ensures the config file setting is respected and avoids a redundant call to find_arg.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant