Skip to content

Commit

Permalink
Check status of escape sequences
Browse files Browse the repository at this point in the history
  • Loading branch information
heaths committed Apr 26, 2021
1 parent d966442 commit 0c7b39a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion formatter/table.go
Expand Up @@ -12,7 +12,7 @@ type Table struct {

func NewTable(output io.Writer) Table {
return Table{
w: tabwriter.NewWriter(output, 10, 1, 3, ' ', 0),
w: tabwriter.NewWriter(output, 10, 1, 1, ' ', 0),
}
}

Expand Down
8 changes: 4 additions & 4 deletions templ.go
Expand Up @@ -23,10 +23,10 @@ func main() {
{
Name: "Stephen King",
Books: []Book{
{Title: "Misery: A Novel", ISBN13: "978-1501143106"},
{Title: "Salem's Lot", ISBN13: "978-0345806796"},
{Title: "The Dark Tower I: The Gunslinger", ISBN13: "978-1501143519"},
{Title: "The Dark Tower II: The Drawing of the Three", ISBN13: "978-1501143533"},
{Title: `Misery: A Novel\n`, ISBN13: "978-1501143106"},
{Title: `Salem\\'s Lot`, ISBN13: "978-0345806796"},
{Title: `The Dark Tower I:\b The Gunslinger`, ISBN13: "978-1501143519"},
{Title: `The Dark Tower II:\tThe Drawing of the Three`, ISBN13: "978-1501143533"},
},
},
{
Expand Down

0 comments on commit 0c7b39a

Please sign in to comment.