chzyer/readline
View on GitHub ↗ ★ 2,318 Go
Readline is a pure go(golang) implementation for GNU-Readline kind library
5 mentions on Hacker News by 5 people: 1 story, 4 comments · first 2015-09-23 · latest 2023-04-23
20082026
-
…readline or similar libraries. Most shells for example. https://en.wikipedia.org/wiki/GNU_Readline https://github.com/chzyer/readline/blob/master/doc/shortcut....
comment by colechristensen · 2023-04-23 · in Keyboard tricks from a macOS app dev -
Do you want to build an interactive shell or a cli tool? For a custom shell I have used https://github.com/chzyer/readline before, but I did not work on it a lot. I also wanted custom completions based on context and this readline…
comment by abhijat · 2022-01-17 · in Ask HN: What libraries does go have for building interactive shells? -
…are the same no matter which Unix terminal you are using, on macOS, Linux, cygwin, git bash, WSL... https://github.com/chzyer/readline/blob/master/doc/shortcut.... I don't know if I'm an oddball but I'm switching all day long between Mac,…
comment by jcelerier · 2021-08-26 · in I switched from macOS to Linux after 15 years of Apple -
…[2] https://github.com/kr/pty/blob/master/util.go (this package creates UNIX PTY files) [3] https://github.com/chzyer/readline/blob/master/operation.go (readline package used by cockroachdb and Netflix) In fact of the packages I checked, I…
comment by laumars · 2017-06-30 · in Benefits of named return values in Go