Jern - a simple and secure journaling tool #2608
Replies: 7 comments 20 replies
-
This is excellent. We should figure out why the keyboard shortcuts are not working on Mac. |
Beta Was this translation helpful? Give feedback.
-
Nice little program! Thanks for sharing. I had a play with it and its cool. It would be nice if on boot the first time (when there is no .k file), it prompted you to enter a key name. Prompting (Yes/No/Cancel) to save changes on quit (Alt+Q) would be cool too. Thanks for referencing back to Terminal.Gui in the about box/readme ❤️. |
Beta Was this translation helpful? Give feedback.
-
Just curious, is there a Discord? I'd like to start work on adding changes and ideas that people had, but I don't want to spam the Discussions board with questions x) Maybe I can just keep my questions to this main thread? |
Beta Was this translation helpful? Give feedback.
-
Okay I'm encountering an exception that I believe has something to do with how I am switching between Windows So I have this in my Program.cs file:
And inside of RenameKey, I do this to switch back to MainWindow:
The error I get is when my application loads RenameKey, then runs MainWindow. Everything seems to work fine, until I try to use a MessageBox.Query. This section throws a NullReferenceException "Object reference not set to an instance of an object." but only after I click "Cool" in the message box. And this only happens when my application runs RenameKey -> MainWindow. If it's just running the MainWindow, it works just fine.
I tried to display the Rename window as a dialog before, but I ran into an issue where it would leave an artifact in the window if you moved it around and yada yada haha I'm sure I'm doing something funky which is causing this. Any advice on how to better do this? Thank you! |
Beta Was this translation helpful? Give feedback.
-
Normally to close a modal window and return to the previous window that was running you should just use:
And you don't want to manually dispose of windows. The framework will automatically call dispose on them for you as long as they were running/added to the closing window.
This sounds like a seperate issue. If you are able to create a repro we can probably advise on what is causing artifacts after close. Or fix it if it is a bug. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Would now be a good time to transition to v2? However I noticed that when I press Esc, it doesn't call my SaveBeforeQuit method. So I realized I needed to do something different using Keybindings? I like the new changes using keybindings, just need some guidance on how how to adapt here haha thanks! |
Beta Was this translation helpful? Give feedback.
-
Hey I just wanted to share what I made with Terminal.Gui :) it’s a very simple text editor that is meant for journaling, and encrypts entries securely. I made it as a tool for myself to use on a flash drive that I keep with me. Let me know what you think!
https://github.com/HoofedEar/Jern
Beta Was this translation helpful? Give feedback.
All reactions