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

Preferences file #140

Merged
merged 9 commits into from
Dec 7, 2019
Merged

Conversation

jecaro
Copy link
Contributor

@jecaro jecaro commented Nov 25, 2019

This PR implements a basic preferences file #133. It basically works as described here.
A few things about this:

  • I've add a dependency to the yaml library to handle the file format.
  • The FromJSON and ToJSON instances for GI.Vte.Enums.CursorBlinkMode are orphan. If needed I can wrap it in a newtype.

When the user closes the preferences window, termonad saves the changes
to the preferences file.
@cdepillabout
Copy link
Owner

@jecaro Thanks!

Give me a couple days to look over this.

@cdepillabout
Copy link
Owner

@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.

@jecaro
Copy link
Contributor Author

jecaro commented Dec 7, 2019

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.

@cdepillabout cdepillabout merged commit 4447e6f into cdepillabout:master Dec 7, 2019
@cdepillabout
Copy link
Owner

cdepillabout commented Dec 7, 2019

@jecaro Thanks for fixing stuff!

Released to Hackage!

http://hackage.haskell.org/package/termonad-3.0.0.0

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.

2 participants