Commit 0934d965 authored by Vincent Laporte's avatar Vincent Laporte Committed by Vincent Laporte
Browse files

ocamlPackages.lwd: 0.3 → 0.4

ocamlPackages.nottui-unix: init at 0.4
parent 4afcc5ad
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
diff --git a/bin/dune b/bin/dune
index e0ddc1f..a4e8523 100644
--- a/bin/dune
+++ b/bin/dune
@@ -47,6 +47,7 @@
             notty
             notty.unix
             nottui
+            nottui-unix
             lwd
             oseq
             eio
diff --git a/bin/ui_base.ml b/bin/ui_base.ml
index f56ee8d..8d8ed70 100644
--- a/bin/ui_base.ml
+++ b/bin/ui_base.ml
@@ -587,7 +587,7 @@ let ui_loop ~quit ~term root =
       if term_width <> prev_term_width || term_height <> prev_term_height then (
         Lwd.set Vars.term_width_height (term_width, term_height)
       );
-      Nottui.Ui_loop.step
+      Nottui_unix.step
         ~process_event:true
         ~timeout:0.05
         ~renderer
+4 −0
Original line number Diff line number Diff line
@@ -25,6 +25,9 @@ ocamlPackages.buildDunePackage rec {
    hash = "sha256-uRC2QBn4gAfS9u85YaNH2Mm2C0reP8FnDHbyloY+OC8=";
  };

  # Compatibility with nottui ≥ 0.4
  patches = [ ./nottui-unix.patch ];

  nativeBuildInputs = [
    python3
    dune_3
@@ -40,6 +43,7 @@ ocamlPackages.buildDunePackage rec {
    eio_main
    lwd
    nottui
    nottui-unix
    notty
    ocaml_sqlite3
    ocolor
+2 −3
Original line number Diff line number Diff line
@@ -7,14 +7,13 @@

buildDunePackage rec {
  pname = "lwd";
  version = "0.3";
  version = "0.4";

  minimalOCamlVersion = "4.08";
  duneVersion = "3";

  src = fetchurl {
    url = "https://github.com/let-def/lwd/releases/download/v${version}/lwd-${version}.tbz";
    sha256 = "sha256-H/vyW2tn2OBuWwcmPs8NcINXgFe93MSxRd8dzeoXARI=";
    hash = "sha256-nnFltlBWfPOerF4HuVNGzXcZxRSdsM+abeD5ZdQ+x8U=";
  };

  propagatedBuildInputs = [ seq ];
+0 −3
Original line number Diff line number Diff line
@@ -11,9 +11,6 @@ buildDunePackage {

  inherit (lwd) version src;

  minimalOCamlVersion = "4.08";
  duneVersion = "3";

  propagatedBuildInputs = [
    lwt
    nottui
+0 −3
Original line number Diff line number Diff line
@@ -10,9 +10,6 @@ buildDunePackage {

  inherit (lwd) version src;

  minimalOCamlVersion = "4.08";
  duneVersion = "3";

  propagatedBuildInputs = [ nottui ];

  meta = with lib; {
Loading