Graph: TUI state and navigation

t-520·WorkTask·
·
·
Created3 weeks ago·Updated3 weeks ago

Dependencies

Description

Edit

Define TUI state and navigation logic.

Types

  • TuiState - current node, view mode, input buffer, join selection
  • ViewMode - Normal, OpsDetail, Compose

Functions

  • initialState :: Graph -> IO TuiState
  • moveToPrevSibling :: TuiState -> Graph -> IO TuiState
  • moveToNextSibling :: TuiState -> Graph -> IO TuiState
  • moveToParent :: TuiState -> Graph -> IO TuiState
  • moveToChild :: TuiState -> Graph -> IO TuiState
  • startCompose :: TuiState -> TuiState
  • submitMessage :: TuiState -> Graph -> IO TuiState
  • markForJoin :: TuiState -> TuiState

File

Omni/Agent/Graph/Tui/State.hs

Timeline (0)

No activity yet.