degesch: comment about improving word wrapper
This commit is contained in:
parent
419b02e9f7
commit
13c85aa361
@ -3419,6 +3419,14 @@ struct line_char_attrs
|
|||||||
int bg; ///< Background colour (-1 for default)
|
int bg; ///< Background colour (-1 for default)
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// We can get rid of the linked list and do this in one allocation (use strlen()
|
||||||
|
// for the upper bound)--since we only prepend and/or replace characters, add
|
||||||
|
// a member to specify the prepended character and how many times to repeat it.
|
||||||
|
// Tabs may nullify the wide character but it's not necessary.
|
||||||
|
//
|
||||||
|
// This would be slighly more optimal but it would also set the algorithm in
|
||||||
|
// stone and complicate flushing.
|
||||||
|
|
||||||
struct line_char
|
struct line_char
|
||||||
{
|
{
|
||||||
LIST_HEADER (struct line_char)
|
LIST_HEADER (struct line_char)
|
||||||
|
Loading…
Reference in New Issue
Block a user