mirror of https://gitee.com/bigwinds/arangodb
Bug fix in setCursorPos
This commit is contained in:
parent
af3acf5efe
commit
99dbeb4726
|
@ -380,7 +380,7 @@ static void eraseEol(struct current *current)
|
|||
|
||||
static void setCursorPos(struct current *current, int x)
|
||||
{
|
||||
fd_printf(current->fd, "\r\x1b[%dC", x);
|
||||
fd_printf(current->fd, "\r\x1b[%dG", x);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue