Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
bashbunni committed Mar 4, 2024
1 parent c57ec7d commit 193f260
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tea.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
}
Expand All @@ -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()
}
Expand Down

0 comments on commit 193f260

Please sign in to comment.