| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Reusing the same definitions as we have for KD{G,S}ETLED
as they’re practically the same.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As in:
$ vtcol --console /dev/tty6 colors get
solarized
$ vtcol --console /dev/tty6 colors set phosphor
$ vtcol --console /dev/tty6 colors get
phosphor
That simplifies testing so much I wonder why the heck I needed
this long to finally implement it.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Command:
$ vtcol leds set --revert
Implementing this detail of KDSETLED:
[I]f a higher order bit is set, the LEDs revert to normal:
displaying the state of the keyboard functions of caps lock, num
lock, and scroll lock.
|
|
|
|
|
|
|
| |
Currently only supports setting the raw state from an integer
value:
$ vtcol leds set -8 2
|
|
|
|
|
|
|
|
|
| |
Actually we add both subcommand and sub-subcommand.
Example:
[*] 15:52:40 phg@acheron vtcol $ vtcol leds get
Caps: false, Num: true, Scroll: false
|
| |
|
|
|
|
|
| |
Try and not encumber the lower level types with more dependencies
than needed.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
vtcol fade --ms 1000 --frequency 10 --to solarized & dmesg
|
| |
|
|
|
|
|
| |
Introducing a simple type for RGB colors. That awkward string
representation for RawPalette got unwieldy quick.
|
| |
|
| |
|
|
|
|
|
| |
All operations are now exposed through wrappers that are member
functions of ``vtcol::Console``.
|
|
|
|
|
| |
A simplified version of the function used in std which aren’t
made public.
|
| |
|
|
Not really a satisfactorily clean split as of yet but it’s a
start. Error types have been changed from anyhow to io::Error in
``lib.rs`` so as to not force an error handling crate on
downstream users.
|