Skip to content

Commit

Permalink
Fix typo in documentation. Minor fix in demo2
Browse files Browse the repository at this point in the history
  • Loading branch information
jroimartin committed Jan 27, 2014
1 parent 46b1452 commit 553b48c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _demos/demo2.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func getLine(g *gocui.Gui, v *gocui.View) error {

_, cy := v.Cursor()
if l, err = v.Line(cy); err != nil {
return err
l = ""
}

maxX, maxY := g.Size()
Expand Down
2 changes: 1 addition & 1 deletion gui.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func (g *Gui) SetCurrentView(name string) error {
return ErrorUnkView
}

// Current View returns the currently focused view, or nil if no view
// CurrentView returns the currently focused view, or nil if no view
// owns the focus.
func (g *Gui) CurrentView() *View {
return g.currentView
Expand Down

0 comments on commit 553b48c

Please sign in to comment.