Skip to content

Commit

Permalink
Merge pull request #18 from bjornbm/settext
Browse files Browse the repository at this point in the history
Start at first character after `settext`
  • Loading branch information
philanc authored May 8, 2023
2 parents 3c03b66 + 2b20e6a commit 5d060e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buffer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ function buffer.settext(b, txt)
b.chgd = true
b.unsaved = true
b.ci = 1 -- line index
b.cj = 0 -- cursor offset
b.cj = 1 -- cursor offset
return true
end--settext

Expand Down

0 comments on commit 5d060e1

Please sign in to comment.