File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed
Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ depends: [
1717 "zed" {>= "3.0.0" & < "4.0"}
1818 "camomile" {>= "1.0.1"}
1919 "lwt_react"
20- "mew_vi" {>= "0.4 .0" & < "0.5 .0"}
20+ "mew_vi" {>= "0.5 .0" & < "0.6 .0"}
2121 "dune" {>= "1.1.0"}
2222]
2323synopsis: "Terminal manipulation library for OCaml"
Original file line number Diff line number Diff line change @@ -817,6 +817,8 @@ object(self)
817817
818818 val mutable vi_thread= None
819819
820+ method vi_state = vi_state
821+
820822 method set_editor_mode mode =
821823 set_editor_mode mode;
822824 match mode with
Original file line number Diff line number Diff line change @@ -315,6 +315,9 @@ class virtual ['a] term : LTerm.t -> object
315315 method set_editor_mode : LTerm_editor. mode -> unit
316316 (* * Set the current editor mode. *)
317317
318+ method vi_state : LTerm_vi. state
319+ (* * Get the current vi_state . *)
320+
318321 method bind : LTerm_key. t list -> action list -> unit
319322
320323 method draw_update : unit Lwt. t
You can’t perform that action at this time.
0 commit comments