add config option to disable text scrolling in header window
This commit is contained in:
@@ -333,6 +333,8 @@ const std::basic_string<my_char_t> &Scroller(const string &str, size_t width, si
|
||||
static std::basic_string<my_char_t> result;
|
||||
result.clear();
|
||||
std::basic_string<my_char_t> s = TO_WSTRING(str);
|
||||
if (!Config.header_text_scrolling)
|
||||
return (result = s);
|
||||
size_t len;
|
||||
# ifdef _UTF8
|
||||
len = Window::Length(s);
|
||||
|
||||
Reference in New Issue
Block a user