소스 검색

added tab support to the terminal emulator

pull/1/head
XeonSquared 4 년 전
부모
커밋
eccc80ad16
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. +2
    -0
      module/vt100.lua

+ 2
- 0
module/vt100.lua 파일 보기

@@ -31,6 +31,8 @@ function vt100emu(gpu) -- takes GPU component proxy *gpu* and returns a function
cx = 1
elseif cc == "\27" then -- escape
mode = "e"
elseif cc == "\t" then
cx = 8*((cx+9)//8)
elseif string.byte(cc) > 31 and string.byte(cc) < 127 then -- printable, I guess
gpu.set(cx, cy, cc)
cx = cx + 1


불러오는 중...
취소
저장