File tree 3 files changed +6
-1
lines changed 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ depends: [
17
17
"zed" {>= "3.0.0" & < "4.0"}
18
18
"camomile" {>= "1.0.1"}
19
19
"lwt_react"
20
- "mew_vi" {>= "0.4 .0" & < "0.5 .0"}
20
+ "mew_vi" {>= "0.5 .0" & < "0.6 .0"}
21
21
"dune" {>= "1.1.0"}
22
22
]
23
23
synopsis: "Terminal manipulation library for OCaml"
Original file line number Diff line number Diff line change @@ -817,6 +817,8 @@ object(self)
817
817
818
818
val mutable vi_thread= None
819
819
820
+ method vi_state = vi_state
821
+
820
822
method set_editor_mode mode =
821
823
set_editor_mode mode;
822
824
match mode with
Original file line number Diff line number Diff line change @@ -315,6 +315,9 @@ class virtual ['a] term : LTerm.t -> object
315
315
method set_editor_mode : LTerm_editor. mode -> unit
316
316
(* * Set the current editor mode. *)
317
317
318
+ method vi_state : LTerm_vi. state
319
+ (* * Get the current vi_state . *)
320
+
318
321
method bind : LTerm_key. t list -> action list -> unit
319
322
320
323
method draw_update : unit Lwt. t
You can’t perform that action at this time.
0 commit comments