-
Notifications
You must be signed in to change notification settings - Fork 372
reapply a theme to previous formats #1079
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
another attempt at #1063 |
Todos
|
This comment has been minimized.
This comment has been minimized.
|
-> under what circumstances would we "want" an automated scrollback redraw? |
|
This comment has been minimized.
This comment has been minimized.
91f3b14
to
831e18e
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
the code is mostly split into 3 parts;
|
you should be able to review each commit individually, but it's still a big hairy lump for the view_update_line_cache in textbuffer-view.c, it would make sense to review with white-space ignored (?w=1 ) |
1103a93
to
7b5bf8f
Compare
@irssi/developers please test |
There's some drawing issues
Also, I'd still like the scrollback to be redrawn automatically if possible when theme is applied |
thank you very much for the detailed report. btw the auto redraw will come, just not in this PR! |
I think I fixed dirssi, still need to check elite |
@irssi/developers last chance to review.... |
1a55b3c
to
2ceb4a9
Compare
- completely removed the old textbuffer representation ( https://github.com/shabble/irssi-docs/wiki/Notes-256-Colour#textbuffer-encoding ) - textbuffer-formats is an extra module, so if we unhook the signals it should go back to the "old way" of storing pre-rendered tex - design uses cache, original formats and list of arguments
- the expando values need to be stored now that the lines are reformattable, otherwise the old values are lost (and they depend on context only available at the time the line is initially printed) - the cache is collected from the special-vars evaluation code - the cache is controlled by the textbuffer-formats code, and stored in the text_buffer_format_rec
f6474d7
to
138ff1a
Compare
- compatibility shim for new line - make format accessible from perl - fix perl line IDs being mixed up due to wrapper
Uh oh!
There was an error while loading. Please reload this page.