Skip to content
Discussion options

You must be logged in to vote

Those are escape sequences that we must not handle. We handle escape sequences in https://github.com/jesseduffield/gocui/blob/master/escape.go#L149 and we use gocui as a dependency in lazygit.

From chatGPT:

\033[1G (or [1;G) is an ANSI escape sequence that moves the cursor to column 1 of the current line.

So we just need to handle that case. Would you be up for raising a PR @Ridermansb ?

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Ridermansb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants