Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
deining authored and gdamore committed Oct 6, 2024
1 parent 88b9c25 commit 1985c48
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README-wasm.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
<iframe src="tcell.html" title="Tcell app"></iframe>
```
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down
2 changes: 1 addition & 1 deletion terminfo/base/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion views/spacer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion views/widget.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 1985c48

Please sign in to comment.