From 1a12f69466d29721f8fa12c92850096339088f8c Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Tue, 20 Feb 2024 12:12:25 +0300 Subject: ilua-wrapper: FreeBSD compatibility --- TODO | 2 ++ ilua-wrapper.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/TODO b/TODO index a1db42e..58240ed 100644 --- a/TODO +++ b/TODO @@ -112,3 +112,5 @@ configuration. It might also be viable to do our own graphics via Cairo, which allows SVG output in contrast to Tk canvases. +* Automatically detect whether terminal supports the Kitty graphics protocol: + https://sw.kovidgoyal.net/kitty/graphics-protocol/#querying-support-and-available-transmission-mediums diff --git a/ilua-wrapper.sh b/ilua-wrapper.sh index b5494f8..51bf382 100755 --- a/ilua-wrapper.sh +++ b/ilua-wrapper.sh @@ -4,5 +4,5 @@ # Also, it's useful as you do not have to change the directory before invoking ILua. # Thirdly, if you create a symbolic link to lua in a Python environment of ILua, this invoke # Applause by default and it will even work with Jupyter Notebooks without further tweaks. -cd $(dirname $(readlink -m "$0")) +cd $(dirname $(readlink "$0")) exec ./applause $APPLAUSE_OPTS "$@" -- cgit v1.2.3