func printRuneFormatted()

in adventure.go [181:205]


func printRuneFormatted(c rune) {
	switch c {
	case '.':
		fmt.Print(string(c))
		col++
		time.Sleep(sleepTime.sentence)
	case '\n':
		fmt.Print(string(c))
		col = 0
	case ' ':
		if col == 0 {
			// Do nothing.
		} else if col > 80 {
			fmt.Print("\n")
			col = 0
		} else {
			fmt.Print(string(c))
			col++
		}
	default:
		fmt.Print(string(c))
		col++
	}
	time.Sleep(sleepTime.character)
}