diff options
author | Jonathan 'theJPster' Pallant <github@thejpster.org.uk> | 2023-07-16 22:26:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-16 21:26:55 +0000 |
commit | 94e74f3a64f42d5dad4e3d42dbe8c23291038214 (patch) | |
tree | 557c2ad50b251973db851a000b539af6752df792 /src/ansi.rs | |
parent | 624fd93aa77227138fd864d43fc9bdb84095de41 (diff) | |
download | r-alacritty-vte-94e74f3a64f42d5dad4e3d42dbe8c23291038214.tar.gz r-alacritty-vte-94e74f3a64f42d5dad4e3d42dbe8c23291038214.tar.bz2 r-alacritty-vte-94e74f3a64f42d5dad4e3d42dbe8c23291038214.zip |
Add const generic for no-std OSC buffer limit
The OSC buffer limit was set to 1024 bytes by default for no-std
targets. Especially when operating in a restricted environment where OSC
escapes are irrelevant, this consumes a lot of unnecessary memory.
This patch adds a const generic that allows controlling the target size
of the OSC buffer at compile-time, making it possible to remove the
buffer entirely if OSCs are not required.
Co-authored-by: Christian Duerr <contact@christianduerr.com>
Diffstat (limited to 'src/ansi.rs')
0 files changed, 0 insertions, 0 deletions