diff options
| author | Maxime Coste <mawww@kakoune.org> | 2019-11-24 11:39:33 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2019-11-24 18:11:29 +1100 |
| commit | 34f48cc851e73548071ffaf799e0a52be954e11f (patch) | |
| tree | 42adcdfcfad9ff535b0cc3737260253e18454ea0 /src/display_buffer.hh | |
| parent | 19e1be8e0d1946bbff02412ec703be33c7f4fede (diff) | |
Rework ncurses info display, crop content when overlflowing
Optmize the code to avoid allocating like crazy, unify various
info style rendering, crop content and display markers that there
is more text remaining.
Fixes #2257
Diffstat (limited to 'src/display_buffer.hh')
| -rw-r--r-- | src/display_buffer.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display_buffer.hh b/src/display_buffer.hh index 01310b26..65ea93db 100644 --- a/src/display_buffer.hh +++ b/src/display_buffer.hh @@ -125,7 +125,7 @@ public: // remove first_col from the begining of the line, and make sure // the line is less that col_count character - void trim(ColumnCount first_col, ColumnCount col_count); + bool trim(ColumnCount first_col, ColumnCount col_count); // Merge together consecutive atoms sharing the same display attributes void optimize(); |
