realChakrawarti
realChakrawarti
DDeno
Created by realChakrawarti on 4/16/2025 in #help
Avoid newline at the end of Deno.stdout.(write/writeSync)
Here is my use case: I have a cli that outputs some command like git clone <url> and I want to print editable string in terminal so that I could replace the <url> with the actual repo url.
const text = new TextEncoder().encode("git clone ");
Deno.stdout.writeSync(text)
const text = new TextEncoder().encode("git clone ");
Deno.stdout.writeSync(text)
What happens is, it echo git clone in the terminal and ends. I couldn't input anything after that. How do I do that? I couldn't find anything.
1 replies
DDeno
Created by realChakrawarti on 4/15/2025 in #help
Deno compile: LoadLibraryExW failed
No description
5 replies