Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
module List : sig ... end
val update :
[> `Key of
[> `ASCII of char
| `Arrow of [> `Down | `Left | `Right | `Up ]
| `Enter ]
* 'a ] ->
TuiModel.model ->
TuiModel.model
val render_line : TuiTypes.line -> bool -> Notty.image
val render_hunk :
TuiTypes.hunk ->
int ->
bool ->
Notty.image list option ->
Notty.image list
val render_file :
TuiTypes.file ->
bool ->
Notty.image list option ->
Notty.image list
val render_model : TuiModel.model -> Notty.image list
val count_hunk_visible_lines : TuiTypes.hunk -> int
val count_file_visible_lines : TuiTypes.file -> int
val cursor_index : TuiModel.model -> int
val view : TuiModel.model -> int -> Notty.image
val any_lines_selected : TuiTypes.file Zipper.zipper -> bool
val ui_loop : Notty_unix.Term.t -> TuiModel.model -> TuiModel.model option
val run : TuiModel.model -> TuiModel.model option
val tui_line_of_diff_line :
[< `AddedLine of string | `ContextLine of string | `RemovedLine of string ] ->
TuiTypes.line
val model_of_diff : Diff.diff -> TuiModel.model option
val model_files : TuiModel.model -> TuiTypes.file list
val diff_line_of_model_line :
TuiTypes.line ->
[> `AddedLine of string | `ContextLine of string | `RemovedLine of string ]
option
val non_empty_file : TuiTypes.file -> bool
val diff_of_model : TuiModel.model -> (Diff.diff, 'a) Stdlib.result