remove more debug
This commit is contained in:
8
ogui.ml
8
ogui.ml
@ -616,9 +616,9 @@ module Ui = struct
|
|||||||
| None -> Event.resolver [ Event.pack Fun.id t.bindings ]
|
| None -> Event.resolver [ Event.pack Fun.id t.bindings ]
|
||||||
in
|
in
|
||||||
|
|
||||||
Event.(
|
(*Event.(
|
||||||
F.epr "Ui.keycallback %a %a %a@." pp_key key pp_key_action state
|
F.epr "Ui.keycallback %a %a %a@." pp_key key pp_key_action state
|
||||||
pp_mods mods);
|
pp_mods mods); *)
|
||||||
match Event.resolve (Key (state, key, mods)) res with
|
match Event.resolve (Key (state, key, mods)) res with
|
||||||
| Event.Accepted actions ->
|
| Event.Accepted actions ->
|
||||||
callback_resolver := None;
|
callback_resolver := None;
|
||||||
@ -639,8 +639,8 @@ module Ui = struct
|
|||||||
ui.bindings <- f ui.bindings
|
ui.bindings <- f ui.bindings
|
||||||
|
|
||||||
let chrcallback_ref : (Uchar.t -> unit Lwt.t) ref =
|
let chrcallback_ref : (Uchar.t -> unit Lwt.t) ref =
|
||||||
ref (fun c ->
|
ref (fun _c ->
|
||||||
F.epr "chrcallback: '%a'@." pp_uchar c;
|
(* F.epr "chrcallback: '%a'@." pp_uchar _c; *)
|
||||||
Lwt.return_unit)
|
Lwt.return_unit)
|
||||||
|
|
||||||
let chrcallback _t (chr : int) : unit Lwt.t =
|
let chrcallback _t (chr : int) : unit Lwt.t =
|
||||||
|
|||||||
Reference in New Issue
Block a user