From 193f26039d8b67118a05f9839f344a994b4561e8 Mon Sep 17 00:00:00 2001 From: bashbunni Date: Mon, 4 Mar 2024 11:53:56 -0800 Subject: [PATCH] fix: typo --- tea.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tea.go b/tea.go index 04a2f06113..e2ca96ab2e 100644 --- a/tea.go +++ b/tea.go @@ -622,7 +622,7 @@ func (p *Program) Send(msg Msg) { // if the program is unstarted or has already exited. func (p *Program) Quit() { if err := os.Setenv("RUNEWIDTH_EASTASIAN", p.runewidthEastAsian); err != nil { - log.Error("Unable to unset RUNEWIDTH_EASTASIAN environment variable; it is set to true for compatiblity purposes", "err", err) + log.Error("Unable to unset RUNEWIDTH_EASTASIAN environment variable; it is set to true for compatibility purposes", "err", err) } p.Send(Quit()) } @@ -632,7 +632,7 @@ func (p *Program) Quit() { // [program.Run] returns a [ErrProgramKilled] error. func (p *Program) Kill() { if err := os.Setenv("RUNEWIDTH_EASTASIAN", p.runewidthEastAsian); err != nil { - log.Error("Unable to unset RUNEWIDTH_EASTASIAN environment variable; it is set to true for compatiblity purposes", "err", err) + log.Error("Unable to unset RUNEWIDTH_EASTASIAN environment variable; it is set to true for compatibility purposes", "err", err) } p.cancel() }