diff options
Diffstat (limited to 'internal/crud/handler_edit.go')
| -rw-r--r-- | internal/crud/handler_edit.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/crud/handler_edit.go b/internal/crud/handler_edit.go index f7bbe34..0e13be3 100644 --- a/internal/crud/handler_edit.go +++ b/internal/crud/handler_edit.go @@ -56,6 +56,9 @@ func EditNote(notePath, editorString string) error { err = os.WriteFile(notePath, encrypted, noteInfo.Mode().Perm()) + // utils.ClearTerm() + fmt.Println("Saved:", noteInfo.Name()) + return err } |