mirror of https://github.com/gdamore/tcell.git
Fix typos
This commit is contained in:
parent
88b9c25c3c
commit
1985c48151
|
@ -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
|
||||
<iframe src="tcell.html" title="Tcell app"></iframe>
|
||||
```
|
||||
|
|
|
@ -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))
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue