aboutsummaryrefslogtreecommitdiff
path: root/internal/crud/handler_edit.go
diff options
context:
space:
mode:
authorishaan <contact@ishaan.cc>2026-07-13 10:13:54 +0530
committerishaan <contact@ishaan.cc>2026-07-13 10:13:54 +0530
commit388971e7a86be97f6a7412cd1d526016bc4e14ce (patch)
treedda2a60ce6907770a0962f7233136cd2d1e1e232 /internal/crud/handler_edit.go
parent6fa6f58e43a13747388973fe0ec7018a2f0683df (diff)
w
Diffstat (limited to 'internal/crud/handler_edit.go')
-rw-r--r--internal/crud/handler_edit.go3
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
}