From e4880ad91a43008a0b013636735b6c8c5ea93b01 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Tue, 28 Apr 2015 21:03:37 +0100 Subject: [PATCH] Use unicode elipsis to mark trimmed mode line --- src/ncurses_ui.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ncurses_ui.cc b/src/ncurses_ui.cc index eb8f4d11..49cab1b8 100644 --- a/src/ncurses_ui.cc +++ b/src/ncurses_ui.cc @@ -400,7 +400,7 @@ void NCursesUI::draw(const DisplayBuffer& display_buffer, { DisplayLine trimmed_mode_line = mode_line; trimmed_mode_line.trim(mode_len + 2 - remaining, remaining - 2, false); - trimmed_mode_line.insert(trimmed_mode_line.begin(), { "<" }); + trimmed_mode_line.insert(trimmed_mode_line.begin(), { "…" }); kak_assert(trimmed_mode_line.length() == remaining - 1); CharCount col = m_dimensions.column - remaining + 1;