README: Add information about refreshing content.

This commit is contained in:
Kalle Carlbark 2019-08-29 21:42:41 +02:00
parent 6513472e83
commit 2aedd6140f
No known key found for this signature in database
GPG key ID: 3FC0C93C5A5A0670

View file

@ -1,6 +1,7 @@
# hmhm 🦞 # hmhm 🦞
List latest news items from Hacker News and Lobste.rs in the terminal. List latest news items from Hacker News and Lobste.rs in the terminal. It
refreshes automatically every 5 minutes.
hmhm is a tool I developed to get a feeling how one could develop a TUI (Terminal hmhm is a tool I developed to get a feeling how one could develop a TUI (Terminal
User Interface) based app in Go. User Interface) based app in Go.
@ -10,6 +11,7 @@ I tried a few TUI high level libraries but settled on [termui](https://github.co
* Up, down, k or j keys - to change focus up or down. * Up, down, k or j keys - to change focus up or down.
* Left, Right, h or l - to switch tab. * Left, Right, h or l - to switch tab.
* Enter - open up web browser with the URL for the focused news item. * Enter - open up web browser with the URL for the focused news item.
* r - refresh content for the active tab.
* Escape or q - to quit * Escape or q - to quit