47fac22230
- .claude/CLAUDE.md - .claude/commands/subagentes.md - .claude/rules/INDEX.md - .mcp.json - bash/functions/cybersecurity/analyze_dns.md - bash/functions/cybersecurity/audit_http_headers.md - bash/functions/cybersecurity/audit_ssh_config.md - bash/functions/cybersecurity/check_firewall.md - bash/functions/cybersecurity/detect_suspicious_users.md - bash/functions/cybersecurity/encrypt_file.md - ... Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1.5 KiB
1.5 KiB
name, kind, lang, domain, version, purity, signature, description, tags, uses_functions, uses_types, returns, returns_optional, error_type, imports, params, output, tested, tests, test_file_path, file_path, source_repo, source_license, source_file
| name | kind | lang | domain | version | purity | signature | description | tags | uses_functions | uses_types | returns | returns_optional | error_type | imports | params | output | tested | tests | test_file_path | file_path | source_repo | source_license | source_file | |||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| draw_separator | function | go | tui | 1.0.0 | pure | func DrawSeparator(width int, style lipgloss.Style, sepChar string) string | Dibuja una linea separadora horizontal con ancho, estilo y caracter configurables. Por defecto usa el caracter de separacion simple (─). |
|
false |
|
|
string con la linea separadora renderizada | false | functions/tui/draw_separator.go | https://gitea-dgg044oo04woo4ggcsws4gk0.organic-machine.com/egutierrez/DevLauncher.git | MIT | launcher/ui/styles.go |
Ejemplo
dim := lipgloss.NewStyle().Foreground(lipgloss.Color("#6c6c6c"))
sep := tui.DrawSeparator(60, dim, "")
fmt.Println(sep)
// ────────────────────────────────────────────────────────────
// Con caracter custom
sep2 := tui.DrawSeparator(40, dim, "═")
Notas
Si sepChar es vacio, usa BoxSep (─) de box_chars.go. Para lineas dobles usar "═", para puntos "·", etc.