vtparse
vtparse copied to clipboard
A library to parse terminal escape sequences exactly how the real hardware does.
In Ruby 1.9.2 and later, the current directory has been removed from the LOAD_PATH, due to security reasons. This causes an error when running make. The solution is to prefix...
Feeding the following character sequence into `./test` causes an out-of-bounds write in line 60 of `vtparse.c`: ```bash echo -en "\e["`printf '99;%.0s' {0..15}`m | ./test ``` Relevant code snippet: ```C /*...
Ignores all files generated by running make
I noticed I was getting command errors with multibyte characters. Looked through the vtparse code and noticed it didn't seem to be handling UTF-8 characters. Did a simple UTF-8 implementation...
Here I tried to include fixes for * The open issue with buffer overflow * Missing UTF-8 support * non-working ruby includes Please note that especially the buffer check might...
On my linux machine with ruby 3.0.6p216, the require statement did not work. I don't know much of ruby, but I think this change might solve it and work on...