test
This commit is contained in:
4
main.go
4
main.go
@ -4,6 +4,7 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"flag"
|
"flag"
|
||||||
|
"fmt"
|
||||||
"net"
|
"net"
|
||||||
"os"
|
"os"
|
||||||
"os/signal"
|
"os/signal"
|
||||||
@ -109,6 +110,7 @@ func initialModel(renderer *lipgloss.Renderer, w int, h int) model {
|
|||||||
}
|
}
|
||||||
|
|
||||||
list := list.New(listItems, list.NewDefaultDelegate(), w, h-4)
|
list := list.New(listItems, list.NewDefaultDelegate(), w, h-4)
|
||||||
|
list.Styles.TitleBar = renderer.NewStyle()
|
||||||
list.SetShowTitle(false)
|
list.SetShowTitle(false)
|
||||||
|
|
||||||
// -1 to allow for the initial height of the nav model
|
// -1 to allow for the initial height of the nav model
|
||||||
@ -298,6 +300,8 @@ func main() {
|
|||||||
|
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
||||||
|
fmt.Println(os.Environ())
|
||||||
|
|
||||||
if isSsh {
|
if isSsh {
|
||||||
initServer()
|
initServer()
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user