-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Preferences file #140
Preferences file #140
Conversation
When the user closes the preferences window, termonad saves the changes to the preferences file.
@jecaro Thanks! Give me a couple days to look over this. |
@jecaro Thanks, I finally got a chance to look this over. It looks pretty good to me. I made a few small changes (mostly just moving stuff around and adding a warning to the termonad.yaml file). Could you do a review of the commits I added? Once you sign off on this, I'll merge this in and cut a release to Hackage. |
Putting these functions in a separate file makes it nice and tidy. I just add a commit with minor changes in comments and documentation. Despite that it looks good to me. |
@jecaro Thanks for fixing stuff! Released to Hackage! |
This PR implements a basic preferences file #133. It basically works as described here.
A few things about this:
FromJSON
andToJSON
instances forGI.Vte.Enums.CursorBlinkMode
are orphan. If needed I can wrap it in a newtype.