Skip to content

Commit

Permalink
Fixed cursor width in column mode
Browse files Browse the repository at this point in the history
Fixed special treatment to start 0 only.
  • Loading branch information
noborus committed Jan 6, 2024
1 parent 7b2d2a9 commit 0bf354b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oviewer/draw.go
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ func (root *Root) columnDelimiterHighlight(line LineC) {
var iStart, iEnd int
for c := 0; c < len(indexes)+1; c++ {
switch {
case c == 0:
case c == 0 && lStart == 0:
iStart = lStart
iEnd = indexes[0][1] - 1
if iEnd < 0 {
Expand Down

0 comments on commit 0bf354b

Please sign in to comment.