이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
도움말
로그인
cacalabs
/
libcaca
의 미러
https://github.com/cacalabs/libcaca.git
보기
1
좋아요
0
포크
0
코드
이슈
0
릴리즈
7
위키
활동
소스 검색
* Add linebreaks to the ANSI exporter for better readability, and use
the save/load cursor position trick to ignore them.
tags/v0.99.beta14
Sam Hocevar
sam
19 년 전
부모
5612b86ce6
커밋
ca5c87ae1b
1개의 변경된 파일
과
5개의 추가작업
그리고
1개의 파일을 삭제
분할 보기
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-1
cucul/export.c
+ 5
- 1
cucul/export.c
파일 보기
@@ -319,7 +319,11 @@ static void export_ansi(cucul_canvas_t *cv, cucul_buffer_t *ex)
prevbg = bg;
}
if(cv->width != 80)
if(cv->width == 80)
{
cur += sprintf(cur, "\033[s\n\033[u");
}
else
{
cur += sprintf(cur, "\033[0m\r\n");
prevfg = -1;
쓰기
미리보기
불러오는 중...
취소
저장