Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terminalsettings: Optimize TerminalSettings config writes and fix cancel behavior for m_automark_mode #25388

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ninadsachania
Copy link
Contributor

Before:
TerminalSettingsBug
After:
TerminalSettingsBugFix

Resolved an issue in TerminalSettings where changes to `m_automark_mode`
would persist even when the user clicked "Cancel." This fix ensures that
selecting "Cancel" properly reverts any modifications made to
`m_automark_mode`.
Eliminated unnecessary duplicate writes to the config file in
TerminalSettings. Previously, settings were saved both immediately after
a user changed them and again when they clicked "Apply," "Cancel,"
or "OK." Now, settings are only written once to improve efficiency.
@github-actions github-actions bot added the 👀 pr-needs-review PR needs review from a maintainer or community member label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👀 pr-needs-review PR needs review from a maintainer or community member
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant