Set STT default to oneshot; add pending_finalize and env model
This commit is contained in:
parent
acee131f72
commit
f67c18fc9e
7 changed files with 157 additions and 32 deletions
|
|
@ -39,4 +39,4 @@ set_target_properties(stt PROPERTIES PREFIX "")
|
|||
# Install targets - use standard paths, Nix postInstall will handle fcitx5 paths
|
||||
install(TARGETS stt DESTINATION lib/fcitx5)
|
||||
install(FILES data/stt.conf DESTINATION share/fcitx5/addon)
|
||||
install(FILES data/stt-im.conf DESTINATION share/fcitx5/inputmethod)
|
||||
install(FILES data/stt-inputmethod.conf DESTINATION share/fcitx5/inputmethod RENAME stt.conf)
|
||||
|
|
|
|||
|
|
@ -159,7 +159,7 @@ private:
|
|||
std::string readBuffer_;
|
||||
|
||||
// Mode
|
||||
SttMode mode_ = SttMode::Manual;
|
||||
SttMode mode_ = SttMode::Oneshot;
|
||||
|
||||
// Current state
|
||||
bool ready_ = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue