start terminal ui + logic
This commit is contained in:
@ -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")
|
||||
}
|
||||
|
Reference in New Issue
Block a user