From 0c61a83a1e8d85fe684ea6d98037c00c74a8178b Mon Sep 17 00:00:00 2001 From: Cheney Date: Wed, 23 Sep 2015 13:09:26 +0800 Subject: [PATCH] improve readme --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f915508..7622c3e 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,15 @@ # readline +[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](LICENSE.md) +[![GoDoc](https://godoc.org/github.com/chzyer/readline?status.svg)](https://godoc.org/github.com/chzyer/readline) + A pure go implementation for gnu readline. -# usage +# Demo + +![demo](https://raw.githubusercontent.com/chzyer/readline/master/example/demo.gif) + +# Shortcut > `Meta + n` means press `Esc` and `n` separately @@ -36,6 +43,3 @@ A pure go implementation for gnu readline. | `Meta`+`Backspace` | Cut previous word | Yes | | `Enter` | Line feed | Yes | -# demo - -![demo](https://raw.githubusercontent.com/chzyer/readline/master/example/demo.gif)