1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-30 23:37:17 +03:00

Merge remote-tracking branch 'Screwtapello/newlines-after-json-errors'

This commit is contained in:
Maxime Coste 2018-05-17 07:47:34 +10:00
commit b0577d07f6

View File

@ -460,7 +460,7 @@ void JsonUI::parse_requests(EventMode mode)
}
catch (runtime_error& error)
{
write(2, format("error while handling requests '{}': '{}'",
write(2, format("error while handling requests '{}': '{}'\n",
m_requests, error.what()));
// try to salvage request by dropping its first line
pos = std::min(m_requests.end(), find(m_requests, '\n')+1);