dragoncoder047
dragoncoder047
I had the same sort of issue on Linux yesterday. While I was trying to make a patch for #50 I must have bumped something. At the time I took...
I think I may have a fix for the problem of repeating the first line: https://github.com/wavesoft/local-echo/blob/8d0b7f55c5cf4b0b5f7c5132825dc5bd984bf017/lib/LocalEchoController.js#L298 ```diff -this.term.write("\r"); +this.term.write(`\x1b[${this._termSize.cols}D`); ``` I forgot I had `convertEol: true` in the terminal options....
`offsetToColRow` also needs patching: ```diff let row = 0, col = 0; +input = input.replace(ansiRegex(), ''); for (let i = 0; i < offset; ++i) { ```
I'm pretty sure it's somewhere in here: https://github.com/wavesoft/local-echo/blob/8d0b7f55c5cf4b0b5f7c5132825dc5bd984bf017/lib/LocalEchoController.js#L424-L434
The Python grammar referenced by this repo (MagicStack/MagicPython@7d0f2b22a5ad8fccbd7341bc7b7a715169283044) includes support for the new Python `match/case` keywords but I'm not seeing them highlighted ([see here](https://github.com/dragoncoder047/schemascii/blob/0e33dc91bc564bcaf6e429c3f756201529a1d31a/schemascii/wires.py#L20-L48)). Is this just caused by the...
> I'm not convinced that your proposed solution would work, because structures with shared sublists need not be recursive. Most Lisps don't choke on the `setf`, because all that does...
perhaps another example would help: ```lisp (defvar x '(1 (2 nil) 3)) (setf (car (cdr (cdr x))) x) ; now x is (1 (2 x) 3) (print x) ; prints...
> ```commonlisp > (defvar x '(a)) > (setf (cdr x) x) > (print x) ;; prints (a a a a a a a a ... forever > ``` I just...
> Harder to solve that one. Yeah, I had the same problem where I tried to implement a cyclic object detector that works be able to allow the printer to...
> LispWorks prints it as: > > ``` > > (defvar y '(a)) > Y > > > (setf (car y) y) > ((((#)))) > ``` Try setting your `*print-level*`...