From 681ea2ba30d71cb719850f4b8cde62ba4ecba6dd Mon Sep 17 00:00:00 2001 From: Philip Wittamore Date: Thu, 29 May 2025 18:08:32 +0200 Subject: update --- terminal-ligature-test.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 terminal-ligature-test.sh (limited to 'terminal-ligature-test.sh') diff --git a/terminal-ligature-test.sh b/terminal-ligature-test.sh new file mode 100755 index 0000000..b79024b --- /dev/null +++ b/terminal-ligature-test.sh @@ -0,0 +1,6 @@ +#!/bin/sh +# Terminal Ligature Test +# This one-liner checks if the terminal (not the code editor) renders ligatures correctly. +# It compiles a simple C++ program that prints common ligature-sensitive operators. + +echo -e '#include \nint main(){const char*s="-> <= >= != == && || << >>";while(*s)putchar(*s++);return 0;}' | gcc -x c++ - -o /tmp/a.out && /tmp/a.out; rm /tmp/a.out \ No newline at end of file -- cgit v1.2.3