Merge pull request #1 from hhugo/master

linux + freq + clean main.native
[fix] fix compilation for mac os
[fix] key and interval error
[fix] clear screen error
[fix] frequency