Skip to content

Commit

Permalink
Add more docs and links
Browse files Browse the repository at this point in the history
  • Loading branch information
xsebek committed Jul 5, 2024
1 parent 1eb14ec commit 7f353a4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/swarm-tui/Swarm/TUI/Model/KeyBindings.hs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{-# LANGUAGE OverloadedStrings #-}

-- |
-- | Load and show Swarm keybindings.
--
-- SPDX-License-Identifier: BSD-3-Clause
module Swarm.TUI.Model.KeyBindings (
initKeyHandlingState,
Expand Down Expand Up @@ -28,6 +29,8 @@ import Swarm.TUI.Controller.EventHandlers
import Swarm.TUI.Model
import Swarm.TUI.Model.Event (SwarmEvent, defaultSwarmBindings, swarmEvents)

-- See Note [how Swarm event handlers work]

loadKeybindingConfig ::
(Has (Throw SystemFailure) sig m, Has (Lift IO) sig m) =>
m [(SwarmEvent, BindingState)]
Expand Down

0 comments on commit 7f353a4

Please sign in to comment.