mirror of
https://github.com/zyedidia/micro.git
synced 2026-02-07 07:30:20 +09:00
14 lines
248 B
Go
14 lines
248 B
Go
package main
|
|
|
|
var helpTxt string
|
|
|
|
// LoadHelp loads the help text from inside the binary
|
|
func LoadHelp() {
|
|
data, err := Asset("runtime/help/help.md")
|
|
if err != nil {
|
|
TermMessage("Unable to load help text")
|
|
return
|
|
}
|
|
helpTxt = string(data)
|
|
}
|