feat: Docker TUI — aplicacion Bubble Tea para gestionar Docker
TUI fullscreen con 5 vistas: Containers (start/stop/restart/logs), Images (list/remove), Volumes (list/remove), Networks (list/remove), Compose (up/down/logs). Usa DevFactory (tui, shell, core). Navegacion por tabs, filtrado en containers/images, scroll en logs. Incluye operations.db con entities y relations del proyecto.
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package views
|
||||
|
||||
// Navigation key constants.
|
||||
const (
|
||||
KeyQuit = "ctrl+c"
|
||||
KeyEsc = "esc"
|
||||
KeyBack = "0"
|
||||
KeyTab = "tab"
|
||||
)
|
||||
|
||||
// IsBack returns true if the key should trigger back navigation.
|
||||
func IsBack(key string) bool {
|
||||
return key == KeyEsc || key == KeyBack
|
||||
}
|
||||
Reference in New Issue
Block a user