From 09f01ed2c1d34af6a2ee8239dded6d4e5f7ef0da Mon Sep 17 00:00:00 2001 From: erroneousboat Date: Sat, 22 Oct 2016 09:41:35 +0200 Subject: [PATCH] Make ready for v0.1.0 --- README.md | 12 ++++++++---- components/input.go | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a4939c1..444d731 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,7 @@ Slack-Term ========== -A [Slack](https://slack.com) client for your terminal. As of now the -application is in a beta state. See [issues](https://github.com/erroneousboat/slack-term/issues) -for known bugs and for features I'm working on at the moment +A [Slack](https://slack.com) client for your terminal. ![Screenshot](/screenshot.png?raw=true) @@ -12,7 +10,13 @@ Getting started 1. [Download](https://github.com/erroneousboat/slack-term/releases) a compatible version for your system, and place where you can access it from - the command line like, `~/bin`, `/usr/local/bin`, or `/usr/local/sbin`. + the command line like, `~/bin`, `/usr/local/bin`, or `/usr/local/sbin`. Or + get it via Go: + + + ```bash + $ go get github.com/erroneouboat/slack-term + ``` 2. Get a slack token, click [here](https://api.slack.com/docs/oauth-test-tokens) diff --git a/components/input.go b/components/input.go index 7a64fd3..9e28940 100644 --- a/components/input.go +++ b/components/input.go @@ -101,7 +101,7 @@ func (i *Input) Delete() { // MoveCursorRight will increase the current CursorPosition with 1 func (i *Input) MoveCursorRight() { - if i.CursorPosition < len(i.Par.Text) { + if i.CursorPosition < len(i.Text) { i.CursorPosition++ } }