Skip to content

Commit

Permalink
feat(textarea): ShowLineNumbers
Browse files Browse the repository at this point in the history
  • Loading branch information
maaslalani committed Jun 7, 2022
1 parent 1dc730f commit 571a86d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/textarea/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ func initialModel() model {
ti.Height = 3
ti.LineLimit = 10
ti.CursorLineStyle = lipgloss.NewStyle().Background(lipgloss.Color("0"))
ti.ShowLineNumbers = true

return model{
textarea: ti,
Expand Down

0 comments on commit 571a86d

Please sign in to comment.