///
mouse_button::state button() const { return button_; }
///
- KeyModifier modifier() { return modifier_; }
+ KeyModifier modifier() const { return modifier_; }
/// argument parsing, extract argument i as std::string
std::string getArg(unsigned int i) const;
bool allowAsync() const { return allow_async_; }
///
void allowAsync(bool allow_async) { allow_async_ = allow_async; }
-
+
private:
/// the action
FuncCode action_;
///
KeyModifier modifier_;
/// Commands should be run synchronously when they
- /// are launched via "command-sequence" or "repeat"
+ /// are launched via "command-sequence" or "repeat" or "buffer-forall"
bool allow_async_;
};