Skip to content

Commit

Permalink
Remove runewidth LUT creation
Browse files Browse the repository at this point in the history
  • Loading branch information
zyedidia committed Feb 12, 2024
1 parent f797bbe commit 20b75e2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cell.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,8 @@ func init() {
// might be more memory conscious. If that's you, set the TCELL_MINIMIZE
// environment variable.
if os.Getenv("TCELL_MINIMIZE") == "" {
runewidth.CreateLUT()
// micro-editor/tcell: We do not want LUT creation because it worsens
// startup time.
// runewidth.CreateLUT()
}
}

0 comments on commit 20b75e2

Please sign in to comment.