Format everything with gofmt.
Check the handle, stdin or pipe
Merge branch 'check_handle_is_stdin' of https://github.com/mattn/termbox-go
Adding var IsInit to the API to know if termbox has been init or not
Implement Stringer-interface for Key and Attribute
Revert "Implement Stringer-interface for Key and Attribute"

This reverts commit 2731f2100a8745dc089e82eb86e609d58c5a5e22.

The idea is bad, I don't like it for the following reasons:

1. Incomplete. What about non-color attributes?
2. String representation of a const shouldn't be forced imho.
3. Incomplete again. Not all keys are there. What about Ctrl+<key> combos? How
   would you represent them? C-x? Ctrl+X? ctrl+x? ctrl-x? etc.
Fix SetInputMode on windows. it can't set InputAlt without setting enable_window_input
Revert "Fix SetInputMode on windows. it can't set InputAlt without setting enable_window_input"

This reverts commit bfcccb3e6789a63aafeeb2836953e7e8639aadae.
Don't call set_console_mode if the window is not an actual console.
Close leaking file descriptor.
And a final fix for setting 'consolewin' variable properly.
Use github.com/mattn/go-runewidth library.
Docs: clarify attributes support on different platforms.
Update README.md

Add httopd example
A couple of fixes on windows.

1. CONIN$ detection doesn't work properly at all. Let's simply assume that if
set_input_mode fails, then the handle is not a console.

2. RuneWidth from mattn's library may actually return 0, which leads to
infinite loop in the prepare_diff function.
Fix unused import compilation error.
Merge branch 'master' of github.com:nsf/termbox-go
remove unreachable panic