diff --git a/.gitignore b/.gitignore index 78f6ddf..78a9ceb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ src/scicloj/.cpcache/ src/scicloj/.clj-kondo src/scicloj/poetry.lock -/src/scicloj/.lsp/ +src/scicloj/.lsp/ +src/scicloj/.devcontainer/.devpod-internal diff --git a/src/scicloj/.devcontainer/setup.sh b/src/scicloj/.devcontainer/setup.sh index 5d7f674..f20346f 100755 --- a/src/scicloj/.devcontainer/setup.sh +++ b/src/scicloj/.devcontainer/setup.sh @@ -2,4 +2,6 @@ clj -Sthreads 1 -P mkdir -p .venv -poetry install \ No newline at end of file +poetry install +tic -x ./terminfo24bit.src +export TERM=xterm-24bits \ No newline at end of file diff --git a/src/scicloj/.devcontainer/terminfo24bit.src b/src/scicloj/.devcontainer/terminfo24bit.src new file mode 100644 index 0000000..6221412 --- /dev/null +++ b/src/scicloj/.devcontainer/terminfo24bit.src @@ -0,0 +1,10 @@ +# Use colon separators. +xterm-24bit|xterm with 24-bit direct color mode, + use=xterm-256color, + setb24=\E[48:2:%p1%{65536}%/%d:%p1%{256}%/%{255}%&%d:%p1%{255}%&%dm, + setf24=\E[38:2:%p1%{65536}%/%d:%p1%{256}%/%{255}%&%d:%p1%{255}%&%dm, +# Use semicolon separators. +xterm-24bits|xterm with 24-bit direct color mode, + use=xterm-256color, + setb24=\E[48;2;%p1%{65536}%/%d;%p1%{256}%/%{255}%&%d;%p1%{255}%&%dm, + setf24=\E[38;2;%p1%{65536}%/%d;%p1%{256}%/%{255}%&%d;%p1%{255}%&%dm, \ No newline at end of file diff --git a/src/scicloj/CHANGELOG.md b/src/scicloj/CHANGELOG.md index d6206a8..24f3f9e 100644 --- a/src/scicloj/CHANGELOG.md +++ b/src/scicloj/CHANGELOG.md @@ -1,4 +1,8 @@ # unreleased + +# 1.0.5 +- true color for emacs -nw + # 1.0.4 - use setup.sh script diff --git a/src/scicloj/devcontainer-template.json b/src/scicloj/devcontainer-template.json index ec9f9a2..c2a7cd3 100644 --- a/src/scicloj/devcontainer-template.json +++ b/src/scicloj/devcontainer-template.json @@ -1,6 +1,6 @@ { "id": "scicloj", - "version": "1.0.4", + "version": "1.0.5", "name": "scicloj template", "description": "A scicloj Template", "documentationURL": "https://github.com/scicloj/devcontainer-templates/tree/main/src/scicloj",