Skip to content

Fist test #56

@ttamttam

Description

@ttamttam

Hello. What did I miss?

~/projets 
❯ opam list | ag nottui
nottui                        0.4         UI toolkit for the terminal built on top of Notty and Lwd

❯ dune init project --libs nottui nottuitest
Entering directory '/home/matt/projets/nottuitest'
Success: initialized project component named nottuitest

Edition of bin/main.ml.

~/projets/nottuitest via 🐫 v5.2.1 (5.2.1) 
❯ cat bin/main.ml
open Nottui
module W = Nottui_widgets;;

Ui_loop.run (Lwd.pure (W.printf "Hello world"))

~/projets/nottuitest via 🐫 v5.2.1 (5.2.1) 
❯ dune exec nottuitest
File "bin/main.ml", line 4, characters 0-11:
4 | Ui_loop.run (Lwd.pure (W.printf "Hello world"))
    ^^^^^^^^^^^
Error: Unbound module Ui_loop

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions