mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-09 13:45:26 +02:00
More work on porting themes
This commit is contained in:
@@ -311,7 +311,7 @@ func (self *Loop) SetCursorVisible(visible bool) {
|
||||
|
||||
const MoveCursorToTemplate = "\x1b[%d;%dH"
|
||||
|
||||
func (self *Loop) MoveCursorTo(x, y int) {
|
||||
func (self *Loop) MoveCursorTo(x, y int) { // 1, 1 is top left
|
||||
if x > 0 && y > 0 {
|
||||
self.QueueWriteString(fmt.Sprintf(MoveCursorToTemplate, y, x))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user