Skip to content

Commit caa90cd

Browse files
Marwan051andrinoff
andauthored
fix: update dialog box wording for draft confirmation (#351)
* fix: update dialog box wording for draft confirmation * fix: rename to "are you sure you want to exit?" Signed-off-by: drew <me@andrinoff.com> --------- Signed-off-by: drew <me@andrinoff.com> Co-authored-by: drew <me@andrinoff.com>
1 parent f6ed87a commit caa90cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tui/composer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ func (m *Composer) View() tea.View {
629629
if m.confirmingExit {
630630
dialog := DialogBoxStyle.Render(
631631
lipgloss.JoinVertical(lipgloss.Center,
632-
"Discard draft?",
632+
"Are you sure you want to exit? This draft will be saved",
633633
HelpStyle.Render("\n(y/n)"),
634634
),
635635
)

0 commit comments

Comments
 (0)