As the menu window is sized to match the longest line, there is a risk
of a left-shift happening if the cursor ever ends up at the end of that
line.
That would be bad, so explicitly disable left-shift.
Signed-off-by: NeilBrown <neil@brown.name>
return Efail;
call("doc:set:autoclose", docp, 1);
attr_set_str(&docp->attrs, "render-simple", "format");
+ attr_set_str(&docp->attrs, "shift-left", "0");
attr_set_str(&docp->attrs, "heading", "");
attr_set_str(&docp->attrs, "line-format", "<action-activate:menu-select>%name</>");
attr_set_str(&docp->attrs, "done-key", ci->str2 ?: "menu-done");