minor clean up for style demo

This commit is contained in:
Garrett D'Amore 2024-03-03 19:06:42 -08:00
parent 1fb8cfe768
commit ef0ee53eee
1 changed files with 1 additions and 7 deletions

View File

@ -1,7 +1,7 @@
//go:build ignore
// +build ignore
// Copyright 2019 The TCell Authors
// Copyright 2024 The TCell Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use file except in compliance with the License.
@ -31,12 +31,6 @@ import (
var row = 0
var style = tcell.StyleDefault
func putln(s tcell.Screen, str string) {
puts(s, style, 1, row, str)
row++
}
func puts(s tcell.Screen, style tcell.Style, x, y int, str string) {
i := 0
var deferred []rune