diff options
| author | Maxime Coste <mawww@kakoune.org> | 2017-01-04 11:24:07 +0000 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2017-01-04 11:39:51 +0000 |
| commit | b3674a2f03b70d231abc3e6aca09d5ed907dfc63 (patch) | |
| tree | 473ba4837fe5e0a0ca313589190df2485456831b /src/json_ui.cc | |
| parent | 8f821f0fba48366e0407e5cffece9fa5ffa5a67f (diff) | |
Add `Modal` InfoStyle used for bufer reload info box
Modal info style wont be replaced by other info boxes.
NCursesUI will center that info box.
Fixes #1060
Diffstat (limited to 'src/json_ui.cc')
| -rw-r--r-- | src/json_ui.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/json_ui.cc b/src/json_ui.cc index 95697d73..d35471dd 100644 --- a/src/json_ui.cc +++ b/src/json_ui.cc @@ -137,6 +137,7 @@ String to_json(InfoStyle style) case InfoStyle::InlineAbove: return R"("inlineAbove")"; case InfoStyle::InlineBelow: return R"("inlineBelow")"; case InfoStyle::MenuDoc: return R"("menuDoc")"; + case InfoStyle::Modal: return R"("modal")"; } return ""; } |
