댓글 검색 목록

[Nodejs] ansi-escapes - 터미널을 조작하기 위한 ANSI 이스케이프 코드.

페이지 정보

작성자 운영자 작성일 19-03-07 12:09 조회 428 댓글 0

https://github.com/sindresorhus/ansi-escapes



const ansiEscapes = require('ansi-escapes');

// Moves the cursor two rows up and to the left
process.stdout.write(ansiEscapes.cursorUp(2) + ansiEscapes.cursorLeft);
//=> '\u001B[2A\u001B[1000D'

댓글목록 0

등록된 댓글이 없습니다.

웹학교 로고

온라인 코딩학교

코리아뉴스 2001 - , All right reserved.