issues
search
legionus
/
kbd
Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/legion/kbd.git
https://kbd-project.org
Other
84
stars
41
forks
source link
setvtrgb fails when using stdin
#89
Closed
auouymous
closed
1 year ago
auouymous
commented
1 year ago
61 added hexadecimal support which checks for '#' and rewinds the stream before parsing it (
https://github.com/legionus/kbd/pull/61/commits/c7067176dc0eca535064cb109cff5cb0c17a5ea4#diff-0f8560b8aa55c4eaf12dff37dd45e8a35e126a8169b61acc8decbb643ac83133R145
). This fails when the stream is not rewindable, which is the case when using stdin (
echo '1,2,3,...' |setvtrgb -
).
legionus
commented
1 year ago
Fixed in master.
auouymous
commented
1 year ago
Thank you!
61 added hexadecimal support which checks for '#' and rewinds the stream before parsing it (https://github.com/legionus/kbd/pull/61/commits/c7067176dc0eca535064cb109cff5cb0c17a5ea4#diff-0f8560b8aa55c4eaf12dff37dd45e8a35e126a8169b61acc8decbb643ac83133R145). This fails when the stream is not rewindable, which is the case when using stdin (
echo '1,2,3,...' |setvtrgb -
).