Alexey Gladkov 9d60d247ad
libkfont: Check console mode
No font getting or setting operations work unless the console is in
text mode[1]. This results in a hard-to-diagnose “Invalid argument”
error.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/tty/vt/vt.c#n4736

Link: https://github.com/legionus/kbd/issues/120
Signed-off-by: Alexey Gladkov <legion@kernel.org>
2024-10-09 17:55:13 +02:00
..
2024-10-09 17:55:13 +02:00
2019-09-02 14:06:19 +02:00