// Sets the position of the cursor. See also HideCursor().
14976
func SetCursor(x, y int) {
	if is_cursor_hidden(cursor_x, cursor_y) && !is_cursor_hidden(x, y) {
		outbuf.WriteString(funcs[t_show_cursor])
	}

	if !is_cursor_hidden(cursor_x, cursor_y) && is_cursor_hidden(x, y) {
		outbuf.WriteString(funcs[t_hide_cursor])
	}

	cursor_x, cursor_y = x, y
	if !is_cursor_hidden(cursor_x, cursor_y) {
		write_cursor(cursor_x, cursor_y)
	}
}
1090133
func Cursor(cursor string) DeviceRequestOption {
	return func(opts *deviceRequestOpts) error {
		opts.Cursor = cursor
		return nil
	}
}
118382
func (s *GetAuthorizersInput) SetPosition(v string) *GetAuthorizersInput {
	s.Position = &v
	return s
}
259248
func SetCursor(c Cursor) {
	switch c {
	case CursorNone:
		document.Get("body").Get("style").Set("cursor", "default")
	case CursorHand:
		document.Get("body").Get("style").Set("cursor", "hand")
	}
}
1291761
func (s *GetVpcLinksInput) SetPosition(v string) *GetVpcLinksInput {
	s.Position = &v
	return s
}
1027868
func (s *Usage) SetPosition(v string) *Usage {
	s.Position = &v
	return s
}
1309866
func (s *GetClientCertificatesOutput) SetPosition(v string) *GetClientCertificatesOutput {
	s.Position = &v
	return s
}
1292946
func (s *GetRequestValidatorsInput) SetPosition(v string) *GetRequestValidatorsInput {
	s.Position = &v
	return s
}
529855
func (s *TimecodeBurnin) SetPosition(v string) *TimecodeBurnin {
	s.Position = &v
	return s
}
145944
func (s *GetResourcesInput) SetPosition(v string) *GetResourcesInput {
	s.Position = &v
	return s
}
476845
func (xpath *XPath) SetContextPosition(position, size int) {
	xpath.ContextPtr.proximityPosition = C.int(position)
	xpath.ContextPtr.contextSize = C.int(size)
}
593346
func SetCursorVisibility(visible bool) {
	if visible {
		document.Get("body").Get("style").Set("cursor", "default")
	} else {
		document.Get("body").Get("style").Set("cursor", "none")
	}
}
1040124
func (ta *TextArea) HideCursor(on bool) {
	ta.Init()
	ta.model.hide = on
}
1230328
func (d *Document) DisplayCursorPosition() int {
	var position int
	runes := []rune(d.Text)[:d.cursorPosition]
	for i := range runes {
		position += runewidth.RuneWidth(runes[i])
	}
	return position
}
1076505
func (a *CellView) SetCursorY(y int) {
	a.SetCursor(a.cursorX, y)
}
158158
func (d *Document) CursorPositionRow() (row int) {
	row, _ = d.findLineStartIndex(d.cursorPosition)
	return
}
86661
func (s *GetApiKeysInput) SetPosition(v string) *GetApiKeysInput {
	s.Position = &v
	return s
}