Skip to content

Commit 2f12b88

Browse files
committed
fixed vim-textbeat not following lines
1 parent affa155 commit 2f12b88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

textbeat/player.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,12 +202,12 @@ def has_flags(self, f):
202202
return self.flags & f
203203

204204
# for editor integration: "follows" the output of the file by printing
205-
# newlines to stdout for every parsed line
205+
# line numbers to stdout for every parsed line
206206
def follow(self):
207207
if self.startrow==-1 and self.canfollow:
208208
cursor = self.row + 1
209209
if cursor != self.last_follow:
210-
out(cursor)
210+
print(cursor)
211211
self.last_cursor = cursor
212212
# out(self.rowno[self.row])
213213

0 commit comments

Comments
 (0)