Commit Graph

5 Commits

Author SHA1 Message Date
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