Browse Source

update timer

pull/1/head
10sr 10 years ago
parent
commit
61f170e1bc
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      emacs.el

+ 2
- 2
emacs.el View File

@@ -2423,6 +2423,7 @@ this is test, does not rename files."
(restorecolor "\033[0m") (restorecolor "\033[0m")
(cols (frame-parameter nil 'width)) (cols (frame-parameter nil 'width))
(length (length string))) (length (length string)))
;; (redraw-frame (selected-frame))
(send-string-to-terminal (concat savepos (send-string-to-terminal (concat savepos
(format movecursor (format movecursor
(1+ (- cols length))) (1+ (- cols length)))
@@ -2430,11 +2431,10 @@ this is test, does not rename files."
string string
restorecolor restorecolor
restorepos)) restorepos))
;; (redraw-frame (selected-frame))
)) ))


(run-with-timer (run-with-timer
1
0.1
1 1
(lambda () (lambda ()
(set-terminal-header (concat " " (set-terminal-header (concat " "


Loading…
Cancel
Save