16 static auto create(di::Vector<di::TransparentStringView> command, di::Vector<KeyBind> key_binds,
17 di::Synchronized<LayoutState>& layout_state,
RenderThread& render_thread)
18 -> di::Result<di::Box<InputThread>>;
20 explicit InputThread(di::Vector<di::TransparentStringView> command, di::Vector<KeyBind> key_binds,
21 di::Synchronized<LayoutState>& layout_state,
RenderThread& render_thread);
31 void handle_event(
KeyEvent const& event);
37 di::Vector<KeyBind> m_key_binds;
38 di::Vector<di::TransparentStringView> m_command;
39 di::Atomic<bool> m_done {
false };
40 di::Synchronized<LayoutState>& m_layout_state;
42 dius::Thread m_thread;