fix: rename SFTP footer C:copy → C:transfer for clarity
This commit is contained in:
@@ -655,7 +655,7 @@ func (t *SFTPBrowserTab) View() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Footer (wrapped to terminal width)
|
// Footer (wrapped to terminal width)
|
||||||
footerText := "Ctrl+Tab:switch Ctrl+Q:close Tab:pane ↑↓:nav Enter/→:open ←/Backspace:up /:filter C:copy D:delete N:mkdir R:refresh Esc:close"
|
footerText := "Ctrl+Tab:switch Ctrl+Q:close Tab:pane ↑↓:nav Enter/→:open ←/Backspace:up /:filter C:transfer D:delete N:mkdir R:refresh Esc:close"
|
||||||
footerWrapped := wrapFooter(footerText, t.width)
|
footerWrapped := wrapFooter(footerText, t.width)
|
||||||
for _, line := range strings.Split(footerWrapped, "\n") {
|
for _, line := range strings.Split(footerWrapped, "\n") {
|
||||||
b.WriteString("\n" + lipgloss.PlaceHorizontal(t.width, lipgloss.Center, SubtitleStyle.Render(line)))
|
b.WriteString("\n" + lipgloss.PlaceHorizontal(t.width, lipgloss.Center, SubtitleStyle.Render(line)))
|
||||||
|
|||||||
Reference in New Issue
Block a user