Commit Graph

361 Commits

Author SHA1 Message Date
Masashi SHIBATA
a768dc6a27
Merge pull request #44 from c-bata/orisano/windows_linewrap
fix: support linewrap on windows
2018-02-16 11:45:10 +09:00
Nao YONASHIRO
2e8a01dd61 docs: update toPos document 2018-02-16 11:34:02 +09:00
Nao YONASHIRO
40755ea9f8 fix: support linewrap on windows 2018-02-16 11:34:01 +09:00
c-bata
9ce7fd89b2 Update README 2018-02-15 23:50:39 +09:00
c-bata
8bec780c71 Add some tests 2018-02-15 18:15:32 +09:00
c-bata
19a0980a21 Add godoc comments 2018-02-15 17:34:37 +09:00
Masashi SHIBATA
7e7f5ec007
Merge pull request #45 from c-bata/fix-question-handling
Fix handling of question mark
2018-02-15 15:59:38 +09:00
c-bata
8d163b44bf Fix handling of question 2018-02-15 15:59:10 +09:00
c-bata
7c05c0763a Update CHANGELOG 2018-02-15 03:12:16 +09:00
c-bata
9007dfa03c Update go-tty to fix GetWinsize on windows 2018-02-15 01:45:23 +09:00
c-bata
d987c55cca Remove DEVELOPER_GUIDE and Update README 2018-02-14 22:56:34 +09:00
c-bata
18c202d71a Add ISSUE_TEMPLATE 2018-02-14 22:56:14 +09:00
Masashi SHIBATA
65b515231d
Merge pull request #40 from c-bata/orisano/fix#39
fix runtime error when r.col == 0
2018-02-14 20:06:21 +09:00
Nao YONASHIRO
fbefae2e24 chore: fixed typo 2018-02-14 19:58:20 +09:00
Nao YONASHIRO
2a35ceea89 fix: fix runtime error when r.col == 0 2018-02-14 19:50:00 +09:00
c-bata
e1c654e8e9 Update README 2018-02-14 17:02:08 +09:00
c-bata
e99fbc797b ʕ◔ϖ◔ʔ release v0.2.1 2018-02-14 17:00:08 +09:00
c-bata
081fab51f1 Update README 2018-02-14 16:59:30 +09:00
Masashi SHIBATA
f3c70f1fb3
Merge pull request #34 from c-bata/dep-vendoring
Vendor dependencies with golang/dep
2018-02-14 16:57:02 +09:00
c-bata
999e894043 Vendoring with golang/dep 2018-02-14 16:56:33 +09:00
c-bata
8af3bb095b Add CHANGELOG for v0.2.1 2018-02-14 15:43:27 +09:00
c-bata
b80450e00f Add a Ctrl+L shortcut on README 2018-02-14 15:37:32 +09:00
Masashi SHIBATA
7c10e6cdfd
Merge pull request #38 from mattn/read-buffered
read buffered input
2018-02-14 15:07:41 +09:00
Yasuhiro Matsumoto
a318362be3 check maxReadBytes 2018-02-14 14:55:48 +09:00
Yasuhiro Matsumoto
aebb2322eb read buffered input 2018-02-14 14:17:13 +09:00
c-bata
22345c8319 Update key_stringer.go by latest stringer to fix lint errors 2018-02-14 13:22:22 +09:00
c-bata
dc6fb6e5d8 Write godoc for ConsoleWriter and ConsoleParser 2018-02-14 12:40:37 +09:00
c-bata
742d5c0b78 Update CHANGELOG 2018-02-14 12:00:01 +09:00
c-bata
12250c6c07 Fix some lint errors 2018-02-14 01:14:22 +09:00
c-bata
bd11e00806 Update some options for pagination 2018-02-13 23:50:24 +09:00
c-bata
710a2b89af Add change log for v0.2.0 2018-02-13 23:43:51 +09:00
c-bata
60d120f7b3 Run goimports 2018-02-13 23:42:52 +09:00
Masashi SHIBATA
01c0f0a767
Merge pull request #36 from c-bata/orisano/fix_formatted_panic
fix: fix panic when len(formatted) == 0
2018-02-13 23:39:31 +09:00
Nao YONASHIRO
4581909538 fix: fix panic when len(formatted) == 0 2018-02-13 23:34:00 +09:00
Nao YONASHIRO
5f0f837e16 feat: linewrap support (#35)
* feat: linewrap support

* feat: support Terminal.app

* fix: fix corner case of renderCompletion

* refactor: remove verbose method

* refactor: inlining to stringWidth
2018-02-13 23:09:27 +09:00
c-bata
a34adaee8d Add comment of the case TIOCGWINSZ returns 0,0 2018-02-13 22:03:18 +09:00
Masashi SHIBATA
5212a86596
Merge pull request #32 from bcicen/skip-erase-on-nil-height
skip line erasing on render when window size is not yet available
2018-02-13 22:01:18 +09:00
Masashi SHIBATA
79dd0f2831
Change filepath for debug log for supporting multiple platfroms (#33) 2018-02-13 00:04:49 +09:00
Bradley Cicenas
5f82ed8527 skip line erasing on render when window size is not yet available 2018-02-12 09:23:00 -05:00
Allajah
e15ebadefe Support updating the prefix dynamiacally (#30)
* Make possible to change the prefix dynamically

* Add an example for using live-prefix

* Apply live-prefix if it's enabled

* Fix: rendering issue happened when the prefix is empty string Close #27

* Fix the title of propmt

* Remove an excessive blank line

* Refactor: Call `*Render.getCurrentPrefix()` in renderPrefix()
2018-02-12 20:00:48 +09:00
Masashi SHIBATA
dda4d96c46
Merge pull request #31 from c-bata/windows
Windows support.
2018-02-12 19:37:40 +09:00
c-bata
661e5e0c0b Add some refactor changes 2018-02-12 19:36:21 +09:00
Yusuke Nakamura
04883edce4 Add hundling to stopHandleSignalCh 2018-02-12 19:20:57 +09:00
Yusuke Nakamura
2c030818ad Catch keycode 'ControlM'
In windows, send ControlM when press enter key.
2018-02-12 19:20:57 +09:00
Yasuhiro Matsumoto
2d3927aa20 remove Sleep 2018-02-12 19:20:57 +09:00
Yasuhiro Matsumoto
df1341fe00 windows support 2018-02-12 19:20:57 +09:00
Masashi SHIBATA
9ec1dc9dc5
Merge pull request #28 from orisano/feat_pagination
feat: implement pagination
2018-02-12 19:18:59 +09:00
Nao YONASHIRO
63f3b83828 docs: add comments about a width of the scrollbar 2018-02-12 18:53:15 +09:00
Nao YONASHIRO
d3c627faf4 fix: add scrollbar width 2018-02-12 18:50:42 +09:00
c-bata
549fe998dc Fix CursorUp and CursorDown 2018-02-12 18:36:39 +09:00