gravitational / teleport

The easiest, and most secure way to access and protect all of your infrastructure.
https://goteleport.com
GNU Affero General Public License v3.0
17.42k stars 1.74k forks source link

Custom font / style / CSS for web terminal #5322

Open apiening opened 3 years ago

apiening commented 3 years ago

Feature Request

Terminal prompts which are utilizing special characters (for example with oh-my-zsh setups using powerline or something similar) are not displayed correctly, since the font that is used does not support these characters. It should be possible to override the CSS styles, for example by providing a custom CSS file which is optional and included additionally.

Motivation

The web console would look like a native terminal, even when characters are used that are not supported by the system font. With the possibility to add custom CSS styles, theming would be generally enabled (for instance vision-impaired people might want to change the background color for better contrast). It would be also possible to provide light vs. dark looks to match individual preferences.

programmerq commented 3 years ago

similar to https://github.com/gravitational/teleport/issues/5179

This issue brings up what might be characterized as a bug since the teleport console doesn't properly display some characters. I would say that whether a custom css option is introduced or not, teleport should have enough fonts to display more characters than it does. Customizable CSS would also be a good-to-have.

modem7 commented 2 years ago

Is this being considered at all? There hasn't been an update since Jan.

This would be very useful for users/analysts/engineers with dyslexia. Being able to use fonts such as https://github.com/antijingoist/opendyslexic in the terminal would make their lives substantially easier and reduce human error outside of their control due to their dyslexia.

Also the ability to use fonts suitable for ZSH et al would definitely be a major boon.