summary refs log blame commit diff stats
path: root/lib/ui/fill.go
blob: 0ab4f74b71b309ebc1bc175cd65a94ad8fd554ab (plain) (tree)
1
2
3
4


          
                                     










                                                      
                                                                      










                                                       
package ui

import (
	"github.com/gdamore/tcell/v2"
)

type Fill rune

func NewFill(f rune) Fill {
	return Fill(f)
}

func (f Fill) Draw(ctx *Context) {
	for x := 0; x < ctx.Width(); x += 1 {
		for y := 0; y < ctx.Height(); y += 1 {
			ctx.SetCell(x, y, rune(f), tcell.StyleDefault)
		}
	}
}

func (f Fill) OnInvalidate(callback func(d Drawable)) {
	// no-op
}

func (f Fill) Invalidate() {
	// no-op
}
bg-7.0.32p1 interactive php debugger php-gmp-7.0.32p1 gmp math library support for php php-imap-7.0.32p1 imap, pop3 and nntp extensions for php php-intl-7.0.32p1 intl library support for php php-ldap-7.0.32p1 ldap protocol extensions for php php-librdf-1.0.17.1p2 Redland librdf PHP Bindings php-markdown-1.6.0p0 Markdown implementation for PHP php-mcrypt-7.0.32p1 mcrypt encryption/decryption extensions for php php-mysql-5.6.38 mysql database access extensions for php5 php-mysqli-7.0.32p1 mysql database access extensions for php php-mysqli-7.2.10 mysql database access extensions for php php-odbc-7.0.32p1 odbc database access extensions for php php-openid-2.1.2p7 OpenID authentication for PHP php-pcntl-7.0.32p1 PCNTL extensions for php php-pdo_mysql-7.0.32p1 PDO mysql database access extensions for php php-pgsql-7.0.32p1 pgsql database access extensions for php php-pspell-7.0.32p1 pspell library extensions for php php-shmop-7.0.32p1 shared memory extensions for php php-snmp-7.0.32p1 snmp protocol extensions for php php-soap-7.0.32p1 SOAP functions for php php-sqlite3-7.0.32p1 sqlite3 database access extension for php php-tidy-7.0.32p1 tidy HTML cleaner bindings php-xmlrpc-7.0.32p1 XML RPC functions for php php-xsl-7.0.32p1 XSL functions for php php-zip-7.0.32p1 zip functions for php pico-5.09 UW text editor pigz-2.4p0 parallel implementation of gzip utilizing multiple cores plan9port-20180117p3 Plan 9 from user space portslist-6.8 full list of pkgpaths in ports pwgen-2.08 simple password generator py-pip-9.0.3 Python easy_install replacement py3-click-6.7 command line library for Python py3-click-log-0.3.2 logging integration for Python click py3-click-plugins-1.0.2 register CLI commands via setuptools entry-points py3-click-threading-0.4.3 multithreading in Python click py3-pip-9.0.3 Python easy_install replacement quirks-3.16 exceptions to pkg_add rules ranger-1.9.2 minimalistic console file manager rlwrap-0.43 generic readline wrapper for various programs rspamd-1.7.9p0 event-driven spam filtering system in C/Lua ruby-2.5.1 object oriented script language with threads rust-1.29.2 compiler for Rust Language screen-4.0.3p6 multi-screen window manager shellcheck-0.4.7p0 shell script analysis tool sic-1.2p1 simple irc client sl-5.02 Steam Locomotive slrn-1.0.2p1 SLang-based newsreader stow-2.2.2 manages software package installations with symlinks subversion-1.10.2 subversion revision control system tarsnap-1.0.39 client for the tarsnap.com online encrypted backup service tcsh-6.20.00p1 extended C-shell with many useful features tin-2.4.2 threaded NNTP- and spool-based UseNet newsreader tintin-2.01.3 client program for playing muds with advanced features tinyfugue-4.0s1p4 programmable MUD client, with macro support and more trn-4.0.77p2 threaded newsreader ttyrec-1.0.8p3 tty recorder universal-ctags-0.20180928-iconv multilanguage reimplementation of the Unix ctags utility unzip-6.0p11 extract, list & test files in a ZIP archive uucp-1.07p4 UUCP suite uucpd-1.0 UUCP inetd program vim-8.1.0438-no_x11 vi clone, many additional features weechat-2.2 fast, light and extensible chat client weechat-lua-2.2 Lua bindings for weechat weechat-python-2.2 Python bindings for weechat weechat-ruby-2.2 Ruby bindings for weechat weechat-tcl-2.2 Tcl bindings for weechat wget-1.19.5 retrieve files from the web via HTTP, HTTPS and FTP yasm-1.3.0p1 complete rewrite of the NASM assembler ytalk-3.1.1p3-no_x11 enhanced talk that allows for multiple parties zsh-5.6.2 Z shell, Bourne shell-compatible