Commit Graph

11 Commits

Author SHA1 Message Date
kayos a962cc8abe fix go mod 2021-07-11 18:51:19 -07:00
kayos b9ab36ebe2 apply fix for terminal issue 2021-07-11 18:46:37 -07:00
Roman Zaynetdinov 20e0658bed Update pkg/term to 1.2.0
This fixes build errors on FreeBSD.
2021-03-03 10:40:15 +02:00
Prasanna Kumar 606144aec7 Update pkg/term module and use unix.Termios to make it compatible with latest version
Resolves #190
2020-09-18 19:23:50 +05:30
Ben Aranguren e18fab1746 termio: Set character width to 8 bits
When setting terminal mode, the character size is getting cleared and
defaults to CS5 which causes the display to be garbled.  Since the
purpose of this libaray is to mainly output readable characters, CS8 is
a better value.

This can be easily seen when launching go-prompt over serial connection.

Bug: #179
Change-Id: I4c9d13fad699e09aa9f4f665b252cebdd63614a7
2020-06-09 13:09:21 -07:00
c-bata e231f2940f Refactor input parser 2018-12-18 03:13:07 +09:00
c-bata 843933453f Add debug.AssertNoError for simplify 2018-12-14 22:28:41 +09:00
c-bata acf27c314e Add debug logger and assert 2018-12-10 04:16:49 +09:00
c-bata 7348fd95e8 Fix golint error 2018-12-09 22:35:05 +09:00
c-bata 6916c5f66d Move some strings utilities to internal/strings 2018-12-09 21:04:57 +09:00
c-bata 24941a6503 Move bisectRight implementation to internal/bisect 2018-12-09 20:47:49 +09:00