Clear screen when starting pager
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
3c260a7c5f
commit
715ec7fbe8
|
@ -56,7 +56,7 @@ type pagerModel struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (pm pagerModel) Init() tea.Cmd {
|
func (pm pagerModel) Init() tea.Cmd {
|
||||||
return nil
|
return tea.ClearScreen
|
||||||
}
|
}
|
||||||
|
|
||||||
func (pm pagerModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
|
func (pm pagerModel) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
|
||||||
|
|
|
@ -3,7 +3,6 @@ package repos
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
|
||||||
"io"
|
"io"
|
||||||
"net/url"
|
"net/url"
|
||||||
"os"
|
"os"
|
||||||
|
|
Loading…
Reference in New Issue