File: area_other.go

package info (click to toggle)
golang-github-atomicgo-cursor 0.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 184 kB
  • sloc: makefile: 2
file content (13 lines) | stat: -rw-r--r-- 243 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
//go:build !windows
// +build !windows

package cursor

import (
	"fmt"
)

// Update overwrites the content of the Area and adjusts its height based on content.
func (area *Area) writeArea(content string) {
	fmt.Fprint(area.writer, content)
}