소스 검색

Use tput instead of funny hack

Alois Mahdal 11 년 전
부모
커밋
ffb5bb9581
1개의 변경된 파일1개의 추가작업 그리고 5개의 파일을 삭제
  1. 1
    5
      dotfiles/bash/main.bashrc

+ 1
- 5
dotfiles/bash/main.bashrc 파일 보기

@@ -18,11 +18,7 @@ git() {
18 18
 }
19 19
 
20 20
 clear_to_bottom() {
21
-    clear
22
-    for ((i=1; i<=$LINES; i++));
23
-    do
24
-        echo "$n"
25
-    done
21
+    tput clear; tput cup $(tput lines) 0
26 22
 }
27 23
 
28 24
 ### .... ###