commit a930802d6509edfca661e110459430759dbd1801
parent 19e95044a5654235c61544be1c6a2f98a55f1721
Author: Tomas Hlavaty <tom@logand.com>
Date: Sun, 7 Jun 2020 22:43:26 +0200
add TODO
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/emacs-framebuffer.el b/emacs-framebuffer.el
@@ -51,6 +51,7 @@
(cons framebuffer-width framebuffer-height)
(or
(with-temp-buffer
+ ;; TODO which framebuffer if more than one?
(insert-file-contents "/sys/class/graphics/fb0/modes")
(search-forward-regexp "\\([0-9]+\\)x\\([0-9]+\\)")
(cons (read (match-string 1)) (read (match-string 2))))