Skip to content

Commit 3c5670f

Browse files
author
Jérôme Renard
committed
Exposed showCursorPos
1 parent bd00492 commit 3c5670f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syslogparser.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ func ParseHostname(buff []byte, cursor *int, l int) (string, error) {
193193
return string(hostname), nil
194194
}
195195

196-
func showCursorPos(buff []byte, cursor int) {
196+
func ShowCursorPos(buff []byte, cursor int) {
197197
fmt.Println(string(buff))
198198
padding := strings.Repeat("-", cursor)
199199
fmt.Println(padding + "↑\n")

0 commit comments

Comments
 (0)