summaryrefslogtreecommitdiff
path: root/src/display_buffer.hh
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2015-04-23 21:11:50 +0100
committerMaxime Coste <frrrwww@gmail.com>2015-04-23 21:11:50 +0100
commit840e58e0b1d3ca977a411b3d048009eff5f4bdd5 (patch)
tree620363c77fbea93db364df3ee5ed27a8a0728344 /src/display_buffer.hh
parente0f7a6f0bebe30bf57592b3fc4f9970673fd38a3 (diff)
NCurses: When mode line is too long, trim it rather hiding it
Diffstat (limited to 'src/display_buffer.hh')
-rw-r--r--src/display_buffer.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display_buffer.hh b/src/display_buffer.hh
index 3d3da830..9f0e0fb7 100644
--- a/src/display_buffer.hh
+++ b/src/display_buffer.hh
@@ -114,7 +114,7 @@ public:
// remove first_char from the begining of the line, and make sure
// the line is less that char_count character
- void trim(CharCount first_char, CharCount char_count);
+ void trim(CharCount first_char, CharCount char_count, bool only_buffer);
void optimize();
private: