Module Input_edit

module Input_edit: sig  end
Module providing easy access to edit input modes

type t 
type representing an edit mode
val create : unit -> t
Creates a new edit mode
val get : t -> string
Gets the current contenst of edit box
val get_pos : t -> int
Returns the position of the cursor
val set : t -> string -> int -> unit
Sets the string an the position of the cursor
val enter_pressed : t -> unit
Clears the contents of the editbox and adds the line to command history
val handle : t -> ?history:bool -> Sdlevent.event -> unit
Default key handler for the editbox, to be used with Input.add_mode
val handle_repeat : ('a -> unit) -> 'a -> unit