Skip to content

Commit

Permalink
Ran dune fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Enoumy committed Nov 12, 2024
1 parent 39b6265 commit d196cd6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/capytui/src/loop.ml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ let draw_command_for_image
=
let args =
List.concat
[ [ "kitty" ; "+kitten"; "icat"; "--silent" ]
[ [ "kitty"; "+kitten"; "icat"; "--silent" ]
; (if scale then [ "--scale-up" ] else [])
; [ "--place"
; [%string "'%{width#Int}x%{height#Int}@%{column#Int}x%{row#Int}'"]
Expand Down
7 changes: 5 additions & 2 deletions lib/capytui/tui/scroller/test/test_capytui_scroller.ml
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,9 @@ let%expect_test "Testing the injection function" =
handle
[ Inject (Scroll_to { top = 100; bottom = 300 }) ];
Handle.show handle;
(* NOTE: When the range is bigger than the viewport we go to the bottom. Not totally sure if this is ideal in all situations though at least there is a test showing this... *)
(* NOTE: When the range is bigger than the viewport we go to the bottom.
Not totally sure if this is ideal in all situations though at least
there is a test showing this... *)
[%expect
{|
┌────────────────────────────────────────┐
Expand All @@ -654,7 +656,8 @@ let%expect_test "Testing the injection function" =
handle
[ Inject (Scroll_to { top = 100; bottom = 300 }) ];
Handle.show handle;
[%expect {|
[%expect
{|
┌────────────────────────────────────────┐
│ │
│ │
Expand Down

0 comments on commit d196cd6

Please sign in to comment.