Skip to content

Commit

Permalink
chore(docs): minor copyedits to README
Browse files Browse the repository at this point in the history
  • Loading branch information
meowgorithm committed Dec 6, 2023
1 parent 68e8130 commit 54d9eff
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Huh?

A simple, powerful library for building interactive forms in the terminal.
A simple, powerful library for building interactive forms and prompts in the terminal.
Powered by [Bubble Tea][tea].

<img alt="Running a burger form" width="600" src="https://vhs.charm.sh/vhs-3J4i6HE3yBmz6SUO3HqILr.gif">
Expand All @@ -9,11 +9,8 @@ The above example is running from a single Go program ([source](./examples/burge

## Tutorial

`huh?` is a Go library for prompting users for input. You can build complex
forms in a few lines of Go.

Let’s build a Burger order form. To start, let's import `charmbracelet/huh` and
define a few variables to store the data we'll prompt for.
Let’s build a form for ordering burgers. To start, we’ll import the library and
define a few variables where’ll we store answers.

```go
package main
Expand All @@ -29,7 +26,7 @@ var (
)
```

`huh` separates forms into groups (you can think of groups as pages). Groups
`huh?` separates forms into groups (you can think of groups as pages). Groups
are made of fields (e.g. `Select`, `Input`, `Text`). We will set up three
groups for the customer to fill out.

Expand Down

0 comments on commit 54d9eff

Please sign in to comment.