Skip to content

Commit

Permalink
Add support for other encodings
Browse files Browse the repository at this point in the history
  • Loading branch information
zyedidia committed Apr 18, 2016
1 parent 0a8aca2 commit aa129c1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/micro/micro.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package main
import (
"fmt"
"github.com/gdamore/tcell"
"github.com/gdamore/tcell/encoding"
"github.com/go-errors/errors"
"github.com/mattn/go-isatty"
"github.com/mitchellh/go-homedir"
Expand Down Expand Up @@ -106,6 +107,8 @@ func main() {
os.Exit(1)
}

encoding.Register()

// Find the user's configuration directory (probably $XDG_CONFIG_HOME/micro)
InitConfigDir()
// Load the user's settings
Expand Down

0 comments on commit aa129c1

Please sign in to comment.