Revert "Started to integrate nim-noise." This reverts commit a648a1185bca8dd51254f6f4ef329009c0a91b14.
h3rald h3rald@h3rald.com
Sun, 30 Jul 2023 04:31:54 +0000
4 files changed,
10 insertions(+),
10 deletions(-)
M
min.nim
→
min.nim
@@ -6,7 +6,6 @@ json,
os, algorithm, logging, - noise, minpkg/packages/niftylogger, minpkg/core/baseutils, minpkg/core/env,@@ -24,6 +23,7 @@ minpkg/lib/min_num,
minpkg/lib/min_str, minpkg/lib/min_logic, minpkg/lib/min_time, + minpkg/packages/nimline/nimline, minpkg/lib/min_sys, minpkg/lib/min_io, minpkg/lib/min_dstore,
M
min.nimble
→
min.nimble
@@ -14,7 +14,7 @@ installDirs = @["minpkg"]
# Dependencies -requires "nim >= 1.6.12, zippy >= 0.5.6, nim-noise >= 0.1.8" +requires "nim >= 1.6.12, zippy >= 0.5.6" before install: exec "nimble install -y nifty"
M
minpkg/core/env.nim
→
minpkg/core/env.nim
@@ -1,6 +1,6 @@
import os, - noise + ../packages/nimline/nimline var HOME*: string if defined(windows):@@ -14,9 +14,8 @@ var MINSYMBOLS* {.threadvar.}: string
MINSYMBOLS = HOME / ".min_symbols" var MINHISTORY* {.threadvar.}: string MINHISTORY = HOME / ".min_history" -var EDITOR* {.threadvar.}: Noise -EDITOR = Noise.init() -EDITOR.historyLoad(MINHISTORY) +var EDITOR* {.threadvar.}: LineEditor +EDITOR = initEditor(historyFile = MINHISTORY) var MINCOMPILED* {.threadvar.}: bool MINCOMPILED = false var DEV* {.threadvar.}: bool
M
nifty.json
→
nifty.json
@@ -51,9 +51,10 @@ "zippy": {
"name": "zippy", "nimble": true }, - "nim-noise": { - "name": "nim-noise", - "nimble": true + "nimline": { + "name": "nimline", + "src": "https://github.com/h3rald/nimline.git", + "git": true }, "niftylogger.nim": { "name": "niftylogger.nim",@@ -61,4 +62,4 @@ "src": "https://raw.githubusercontent.com/h3rald/nifty/master/src/niftypkg/niftylogger.nim",
"curl": true } } -} +}