summaryrefslogtreecommitdiff
path: root/src/json_ui.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-01-04 11:24:07 +0000
committerMaxime Coste <mawww@kakoune.org>2017-01-04 11:39:51 +0000
commitb3674a2f03b70d231abc3e6aca09d5ed907dfc63 (patch)
tree473ba4837fe5e0a0ca313589190df2485456831b /src/json_ui.cc
parent8f821f0fba48366e0407e5cffece9fa5ffa5a67f (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.cc1
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 "";
}