Skip to content

Instantly share code, notes, and snippets.

View jim-plus's full-sized avatar

Jim jim-plus

  • Canada
View GitHub Profile
@jim-plus
jim-plus / gist:f50e67d17cdeaa82c03ca59571a01956
Created September 9, 2023 19:38
.bashrc code snippet to auto-enable de facto 24-bit color when an xterm is detected; works with putty and cygwin terminal
if [[ "$TERM" == "xterm" ]]
then
export COLORTERM=truecolor
fi
@jim-plus
jim-plus / gist:ddbc75a71a8acba5548d5fa709d399fe
Created December 24, 2022 05:19
Windows Terminal default font
Cascadia Mono Regular
Curiously, Putty SSH can be forced to use this by enabling the option for "Allow selection of variable-width fonts".
Picking Font Quality "ClearType" works well enough, and should given that the font is via Microsoft.
https://github.com/microsoft/cascadia-code
Why I bothered to check: decent Unicode support for a few codes I was interested in, block graphics and line-drawing graphics in particular.