diff options
| author | nsfisis <nsfisis@gmail.com> | 2022-02-22 20:47:43 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2022-02-22 20:47:43 +0900 |
| commit | 9f0501a1a4aa92845ad953a99650ff9f53988e18 (patch) | |
| tree | 12268f5659a74032d4e986fb243beff3531411c5 | |
| parent | 524e387822d9ed9d2cd4bf9b977f03bf4a593195 (diff) | |
| download | big-clock-mode-9f0501a1a4aa92845ad953a99650ff9f53988e18.tar.gz big-clock-mode-9f0501a1a4aa92845ad953a99650ff9f53988e18.tar.zst big-clock-mode-9f0501a1a4aa92845ad953a99650ff9f53988e18.zip | |
migrate deprecated api: `tcell.Screen.SetCell`v1.0.3
| -rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -12,7 +12,7 @@ func drawSquare(scr tcell.Screen, xOffset, yOffset, w, h int, style tcell.Style) x := xOffset + dx for dy := 0; dy < h; dy++ { y := yOffset + dy - scr.SetCell(x, y, style, ' ') + scr.SetContent(x, y, ' ', nil, style) } } } |
