start terminal ui + logic

This commit is contained in:
Ishaan Dey
2024-04-28 20:06:47 -04:00
parent 9726e7c249
commit ec900d3d77
12 changed files with 322 additions and 56 deletions

View File

@ -14,3 +14,7 @@ export function processFileType(file: string) {
if (ending) return ending
return "plaintext"
}
export function decodeTerminalResponse(buffer: Buffer): string {
return buffer.toString("utf-8")
}