diff options
| author | Kyren223 <Kyren223@proton.me> | 2024-11-21 15:12:12 +0200 |
|---|---|---|
| committer | Kyren223 <Kyren223@proton.me> | 2024-11-21 15:12:12 +0200 |
| commit | 110794070bb19a590963aed020588494d741d668 (patch) | |
| tree | d2ebec34d87488463c72632b4cda11a770e31d3f | |
| parent | cf8bc32e05a86d944195427026155906d085418d (diff) | |
chore: hot reload script changes
| -rw-r--r-- | internal/client/ui/auth/auth.go | 4 | ||||
| -rwxr-xr-x | reload.sh (renamed from bwatch) | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/internal/client/ui/auth/auth.go b/internal/client/ui/auth/auth.go index d44a95b..aa988c5 100644 --- a/internal/client/ui/auth/auth.go +++ b/internal/client/ui/auth/auth.go @@ -582,5 +582,7 @@ func expandPath(path string) string { func authenticate(privKey ed25519.PrivateKey) tea.Cmd { text := lipgloss.NewStyle().Inline(true). Render("Update Failed - retrying in 3 sec...") - return ui.Transition(loadscreen.New(text)) + return ui.Transition(loadscreen.New(text, func(msg tea.Msg) tea.Cmd { + return nil + })) } @@ -1,7 +1,4 @@ -#!/usr/bin/zsh - # 2.1 means "1st pane of the 2nd window" -echo "Starting bwatch..." tmux send-keys -t 2.1 C-c sleep 0.5 tmux send-keys -t 2.1 clear C-m |
