I'm using emacs in a text terminal and would like to have an overview over the frames at all times. Something like the tab bar in firefox would be neat. Is that possible somehow?
Not entirely sure what the use case is, but something like the following creates a selectable "tab bar" of frames in the header line.:
(require 'cl-lib) (setq-default header-line-format '((:eval (let ((frames (frame-list))) (mapconcat 'identity (cl-loop for frame in frames as map = (make-sparse-keymap) do (define-key map [header-line mouse-1] `(lambda () (interactive) (select-frame-set-input-focus ,frame))) if (eq frame (selected-frame)) collect (propertize (frame-parameter frame 'name) 'face '(:foreground "#B8bb26") 'keymap map) else collect (propertize (frame-parameter frame 'name) 'face '(:foreground "#FB4933") 'keymap map)) " | ")))))