Rename crt → osc throughout

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
rolandnsharp
2026-04-05 13:43:15 +10:00
parent 7ceac6c91f
commit 94d5b2cf63
9 changed files with 31 additions and 10 deletions

2
.gitignore vendored
View File

@@ -1,3 +1,3 @@
crt /osc
nimcache/ nimcache/
demo.png/ demo.png/

View File

@@ -21,7 +21,7 @@ Requires [Nim](https://nim-lang.org/) 2.x.
git clone https://github.com/rolandnsharp/terminal-oscilloscope.git git clone https://github.com/rolandnsharp/terminal-oscilloscope.git
cd terminal-oscilloscope cd terminal-oscilloscope
nimble build nimble build
./crt ./osc
``` ```
## Controls ## Controls

View File

@@ -1,5 +1,4 @@
Output demo.gif Output demo.gif
Output demo.png
Set Shell "bash" Set Shell "bash"
Set FontSize 14 Set FontSize 14
@@ -9,8 +8,30 @@ Set Theme "Dracula"
Type "./crt" Type "./crt"
Enter Enter
Sleep 4s Sleep 2s
Type "m" Type "g"
Sleep 2.5s Sleep 0.3s
Type "g"
Sleep 2s
Type "+"
Sleep 0.4s
Type "+"
Sleep 0.4s
Type "+"
Sleep 0.4s
Type "+"
Sleep 0.4s
Type "+"
Sleep 1s
Type "]"
Sleep 0.4s
Type "]"
Sleep 0.4s
Type "]"
Sleep 0.4s
Type "]"
Sleep 0.4s
Type "]"
Sleep 3s
Type "q" Type "q"
Sleep 2.5s Sleep 2s

View File

@@ -2,10 +2,10 @@
version = "0.1.0" version = "0.1.0"
author = "rolandnsharp" author = "rolandnsharp"
description = "CRT TV turn on/off effects in the terminal" description = "Terminal oscilloscope with CRT phosphor physics"
license = "MIT" license = "MIT"
srcDir = "src" srcDir = "src"
bin = @["crt"] bin = @["osc"]
# Dependencies # Dependencies

View File

@@ -8,7 +8,7 @@
## - Live audio capture via ffmpeg/PulseAudio or demo signal ## - Live audio capture via ffmpeg/PulseAudio or demo signal
import illwill, os import illwill, os
import crt/[effects, phosphor, scope, audio] import osc/[effects, phosphor, scope, audio]
proc exitProc() {.noconv.} = proc exitProc() {.noconv.} =
illwillDeinit() illwillDeinit()