mirror of
https://github.com/rwinkhart/MUTN.git
synced 2026-08-30 22:06:30 -04:00
16 lines
239 B
Go
16 lines
239 B
Go
package main
|
|
|
|
import (
|
|
termy "golang.org/x/crypto/ssh/terminal"
|
|
"os"
|
|
)
|
|
|
|
// invisible variables
|
|
var home, _ = os.UserHomeDir()
|
|
|
|
// exported variables
|
|
var (
|
|
RootLength = len(EntryRoot)
|
|
Width, _, _ = termy.GetSize(int(os.Stdout.Fd()))
|
|
)
|