Skip to content

terminal plugin fixes#14090

Merged
Frenzie merged 2 commits into
koreader:masterfrom
benoit-pierre:pr/terminal_plugin_fixes
Jul 25, 2025
Merged

terminal plugin fixes#14090
Frenzie merged 2 commits into
koreader:masterfrom
benoit-pierre:pr/terminal_plugin_fixes

Conversation

@benoit-pierre

@benoit-pierre benoit-pierre commented Jul 25, 2025

Copy link
Copy Markdown
Member

This change is Reviewable

When reading `CHUNK_SIZE` characters. Additionally, avoid suboptimal
code (`ffi.string(…)` on the whole buffer followed by `string.sub(…)`
+ concatenation) by using a string buffer.
```
interpretAnsiSeq
addChars
wrappedAddChars
raw_method_call
[…]
strike_callback
transmit
refresh
interpretAnsiSeq
addChars
wrappedAddChars
raw_method_call
strike_callback
transmit
refresh
```
@Frenzie Frenzie merged commit f5b1208 into koreader:master Jul 25, 2025
4 checks passed
@Frenzie Frenzie added this to the 2025.06 milestone Jul 25, 2025
@benoit-pierre benoit-pierre deleted the pr/terminal_plugin_fixes branch July 31, 2025 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

terminal emulator in KOReader crash when language is Simplified Chinese

2 participants