Display target register name in status line when recording a macro

This commit is contained in:
Maxime Coste 2013-10-10 22:59:08 +01:00
parent 59ae6411f5
commit 93f6a2ee43

View File

@ -1066,7 +1066,7 @@ DisplayLine Client::generate_mode_line() const
if (context().buffer().is_modified()) if (context().buffer().is_modified())
oss << " [+]"; oss << " [+]";
if (is_recording()) if (is_recording())
oss << " [recording]"; oss << " [recording (" << m_recording_reg << ")]";
if (context().buffer().flags() & Buffer::Flags::New) if (context().buffer().flags() & Buffer::Flags::New)
oss << " [new file]"; oss << " [new file]";
oss << " [" << m_mode->description() << "]" << " - " << name(); oss << " [" << m_mode->description() << "]" << " - " << name();