diff --git a/Dockerfile b/Dockerfile index be7de39ff1..e2cac26328 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,6 +20,7 @@ COPY / /librime WORKDIR /librime/plugins RUN git clone https://github.com/rime/librime-charcode charcode && \ git clone https://github.com/hchunhui/librime-lua lua && \ + git clone https://github.com/rime/librime-predict predict && \ git clone https://github.com/lotem/librime-octagram octagram WORKDIR /librime diff --git a/README.md b/README.md index 508cc1b09a..4731b9fb8d 100644 --- a/README.md +++ b/README.md @@ -85,12 +85,13 @@ Community: Plugins === - - [librime-charcode](https://github.com/rime/librime-charcode) Module that + - [librime-charcode](https://github.com/rime/librime-charcode) (Deprecated) Module that deals with character encoding; depends on boost::locale and ICU libraries - - [librime-legacy](https://github.com/rime/librime-legacy) Legacy module with + - [librime-legacy](https://github.com/rime/librime-legacy) (Deprecated) Legacy module with GPL-licensed code - [librime-lua](https://github.com/hchunhui/librime-lua) Lua scripting - [librime-octagram](https://github.com/lotem/librime-octagram) Language model + - [librime-predict](https://github.com/rime/librime-predict) Predict next word - [librime-proto](https://github.com/lotem/librime-proto) IPC using CapnProto Related works diff --git a/tools/rime_api_console.cc b/tools/rime_api_console.cc index d126f53b58..8d7302ae61 100644 --- a/tools/rime_api_console.cc +++ b/tools/rime_api_console.cc @@ -94,10 +94,10 @@ void print_menu(RimeMenu* menu) { void print_context(RimeContext* context) { if (context->composition.length > 0) { print_composition(&context->composition); - print_menu(&context->menu); } else { printf("(not composing)\n"); } + print_menu(&context->menu); } void print(RimeSessionId session_id) {