feat: notification on copy

This commit is contained in:
2026-08-10 11:07:15 +02:00
parent d3f98c6dbe
commit 36b4fc56c1
3 changed files with 3 additions and 3 deletions

View File

@@ -103,7 +103,7 @@ func TestCopyThreadKeyWritesExportWithoutBlockingUpdate(t *testing.T) {
}
model, _ = model.(App).Update(message)
updated := model.(App)
if updated.notice != "thread copied" || updated.err != nil {
if updated.notice != "thread copied to clipboard" || updated.err != nil {
t.Fatalf("copy result notice=%q err=%v", updated.notice, updated.err)
}
}

2
tui.go
View File

@@ -991,7 +991,7 @@ func (m App) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
return m, m.difflet.setState(diffletRecoverableError)
}
m.err = nil
m.notice = "thread copied"
m.notice = "thread copied to clipboard"
return m, m.difflet.setState(diffletSuccess)
case draftFlushMsg:
if msg.err != nil {

View File

@@ -1,3 +1,3 @@
package main
const dipleVersion = "0.6.0"
const dipleVersion = "0.6.1"