Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restyle WIP navigable table #2141

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/swarm-tui/Swarm/TUI/Model/Dialog/Robot.hs
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ mkRobotDisplay c =
, colHdrRowHdr = Just $ ColHdrRowHdr $ \_ _ -> vLimit 1 (fill ' ') <=> hBorder
}
}
where
uiDebug = c ^. uiDbg
where
uiDebug = c ^. uiDbg

emptyRobotDisplay :: Set DebugOption -> RobotDisplay
emptyRobotDisplay uiDebug =
Expand Down
2 changes: 1 addition & 1 deletion src/swarm-tui/Swarm/TUI/View.hs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ module Swarm.TUI.View (
drawREPL,
) where

import Brick.Widgets.TabularList.Mixed (list)
import Brick hiding (Direction, Location)
import Brick.Focus
import Brick.Forms
Expand All @@ -48,6 +47,7 @@ import Brick.Widgets.Dialog
import Brick.Widgets.Edit (getEditContents, renderEditor)
import Brick.Widgets.List qualified as BL
import Brick.Widgets.Table qualified as BT
import Brick.Widgets.TabularList.Mixed (list)
import Control.Lens as Lens hiding (Const, from)
import Control.Monad (guard)
import Data.Array (range)
Expand Down