diff options
| author | ewy <ewy0@protonmail.com> | 2026-04-29 00:47:34 +0200 |
|---|---|---|
| committer | ewy <ewy0@protonmail.com> | 2026-04-29 00:47:34 +0200 |
| commit | 630d77e1962b43ee95e88a664f5e8b8993213060 (patch) | |
| tree | 8849c2a87443cd231786aed53b76dc7e4ea11aed /runner/shell/target.go | |
| parent | 8efcf029576ad82908b4ae80b2c92022dfb857d2 (diff) | |
big stuff
* send empty screen after tui confirmation
* add scroll view / viewport
* auto enable scroll view on short terminals
* add motd tips
* add subdirs as categories
* add inline toggle hotkey (i)
Diffstat (limited to 'runner/shell/target.go')
| -rw-r--r-- | runner/shell/target.go | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/runner/shell/target.go b/runner/shell/target.go index 0194b5d..8422cf0 100644 --- a/runner/shell/target.go +++ b/runner/shell/target.go @@ -8,9 +8,8 @@ import ( type Target struct { runner.BaseTarget - Shell string - Script string - SubValue []string + Shell string + Script string } func (s *Target) String() string { @@ -22,13 +21,13 @@ func (s *Target) Hydrate(_ *model.Source) (model.HydratedTarget, error) { } func (s *Target) Sub() []string { - return s.SubValue + return s.BaseTarget.Sub } func (s *Target) Label() string { return s.Identity.Full } -func (s *Target) Create(src *model.Source) *exec.Cmd { +func (s *Target) Create(_ *model.Source) *exec.Cmd { return exec.Command(s.Shell, s.Script) } |
