diff --git a/README-wasm.md b/README-wasm.md index faf9685..278baca 100644 --- a/README-wasm.md +++ b/README-wasm.md @@ -20,7 +20,7 @@ In `tcell.js`, you also need to change the constant ```js const wasmFilePath = "yourfile.wasm" ``` -to the file you outputed to when building. +to the file you outputted to when building. ## Displaying your project @@ -49,7 +49,7 @@ func main() { To see the webpage with this example, you can type in `localhost:8080/tcell.html` into your browser while `server.go` is running. ### Embedding -It is recomended to use an iframe if you want to embed the app into a webpage: +It is recommended to use an iframe if you want to embed the app into a webpage: ```html ``` diff --git a/README.md b/README.md index dbec5f1..3de1d60 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ A brief, and still somewhat rough, [tutorial](TUTORIAL.md) is available. - [godu](https://github.com/viktomas/godu) - utility to discover large files/folders - [tview](https://github.com/rivo/tview/) - rich interactive widgets - [cview](https://code.rocketnine.space/tslocum/cview) - user interface toolkit (fork of _tview_) -- [awsome gocui](https://github.com/awesome-gocui/gocui) - Go Console User Interface +- [awesome gocui](https://github.com/awesome-gocui/gocui) - Go Console User Interface - [gomandelbrot](https://github.com/rgm3/gomandelbrot) - Mandelbrot! - [WTF](https://github.com/senorprogrammer/wtf) - personal information dashboard - [browsh](https://github.com/browsh-org/browsh) - modern web browser ([video](https://www.youtube.com/watch?v=HZq86XfBoRo)) diff --git a/terminfo/base/base.go b/terminfo/base/base.go index fbecdfa..d54a381 100644 --- a/terminfo/base/base.go +++ b/terminfo/base/base.go @@ -23,7 +23,7 @@ package base import ( // The following imports just register themselves -- - // thse are the terminal types we aggregate in this package. + // these are the terminal types we aggregate in this package. _ "github.com/gdamore/tcell/v2/terminfo/a/ansi" _ "github.com/gdamore/tcell/v2/terminfo/v/vt100" _ "github.com/gdamore/tcell/v2/terminfo/v/vt102" diff --git a/views/spacer.go b/views/spacer.go index 7bba7b7..e30801f 100644 --- a/views/spacer.go +++ b/views/spacer.go @@ -28,7 +28,7 @@ type Spacer struct { // Draw is called to update the displayed content. func (*Spacer) Draw() {} -// Size always returns 0, 0, since no size is ever *requird* to display nothing. +// Size always returns 0, 0, since no size is ever *required* to display nothing. func (*Spacer) Size() (int, int) { return 0, 0 } diff --git a/views/widget.go b/views/widget.go index 279e452..11a61f3 100644 --- a/views/widget.go +++ b/views/widget.go @@ -169,7 +169,7 @@ type EventWidgetResize struct { widgetEvent } -// EventWidgetMove is fired whenver a widget changes location. +// EventWidgetMove is fired whenever a widget changes location. type EventWidgetMove struct { widgetEvent }