thehowl / claws Goto Github PK
View Code? Open in Web Editor NEWAwesome WebSocket CLient - an interactive command line client for testing websocket servers
License: MIT License
Awesome WebSocket CLient - an interactive command line client for testing websocket servers
License: MIT License
See #20 (comment)
Would you accept a pull request for an option to enable websocket pings from claws w/ configurable interval?
Search through the logs. Of course, this would be enabled with <ESC>/
.
The ability to start recording the commands, stop recording, export commands to a file, and reproduce the commands (sort of automatic testing?)
Enable with <ESC>p
for messages received from server, with <ESC>P
for messages sent from client, this disables automatically JSON formatting and JSON composing, and it gives the ability to pipe the messages to a command (to be executed with bash if possible) giving the message in stdin, and receiving what to show on stdout (and an eventual error to be shown with state.Error on stderr).
panic: The parameter is incorrect.
panic: The parameter is incorrect.
goroutine 1 [running]:
github.com/thehowl/claws/vendor/github.com/nsf/termbox-go.move_cursor(0x2, 0x26)
/home/travis/gopath/src/github.com/thehowl/claws/vendor/github.com/nsf/termbox-go/termbox_windows.go:592 +0x75 github.com/thehowl/claws/vendor/github.com/nsf/termbox-go.Flush(0xc000000000, 0x0)
/home/travis/gopath/src/github.com/thehowl/claws/vendor/github.com/nsf/termbox-go/api_windows.go:120 +0x10c
github.com/thehowl/claws/vendor/github.com/nsf/termbox-go.Close()
/home/travis/gopath/src/github.com/thehowl/claws/vendor/github.com/nsf/termbox-go/api_windows.go:78 +0x39
github.com/thehowl/claws/vendor/github.com/jroimartin/gocui.(*Gui).Close(0xc0420f8090)
/home/travis/gopath/src/github.com/thehowl/claws/vendor/github.com/jroimartin/gocui/gui.go:96 +0x27
panic(0x67ca40, 0xc0421b0000)
/home/travis/.gimme/versions/go1.10.linux.amd64/src/runtime/panic.go:505 +0x237
github.com/thehowl/claws/vendor/github.com/nsf/termbox-go.move_cursor(0x2, 0x26)
/home/travis/gopath/src/github.com/thehowl/claws/vendor/github.com/nsf/termbox-go/termbox_windows.go:592 +0x75 github.com/thehowl/claws/vendor/github.com/nsf/termbox-go.clear()
/home/travis/gopath/src/github.com/thehowl/claws/vendor/github.com/nsf/termbox-go/termbox_windows.go:629 +0x121
github.com/thehowl/claws/vendor/github.com/nsf/termbox-go.update_size_maybe()
/home/travis/gopath/src/github.com/thehowl/claws/vendor/github.com/nsf/termbox-go/termbox_windows.go:451 +0xc5 github.com/thehowl/claws/vendor/github.com/nsf/termbox-go.Clear(0x0, 0x0, 0x0)
/home/travis/gopath/src/github.com/thehowl/claws/vendor/github.com/nsf/termbox-go/api_windows.go:187 +0x41
github.com/thehowl/claws/vendor/github.com/jroimartin/gocui.(*Gui).flush(0xc0420f8090, 0x0, 0x0)
/home/travis/gopath/src/github.com/thehowl/claws/vendor/github.com/jroimartin/gocui/gui.go:423 +0x43
github.com/thehowl/claws/vendor/github.com/jroimartin/gocui.(*Gui).MainLoop(0xc0420f8090, 0x0, 0x0)
/home/travis/gopath/src/github.com/thehowl/claws/vendor/github.com/jroimartin/gocui/gui.go:384 +0x22b
main.main()
/home/travis/gopath/src/github.com/thehowl/claws/main.go:33 +0x1da
Add a new letter (maybe it can be "C") to clear history messages, just like "clear" command in bash.
Would be nice to have this properly packaged. I'm thinking of doing debian and AUR at least.
Can be activated with <ESC>J
, it enables composing json in the textfield with ease, and it is persistent (like replace mode)
key=value
{"key":"value"}
key="value"
{"key":"value"}
key=true
{"key":true}
key="true"
{"key":"true"}
key=1
{"key":1}
key="1"
{"key":"1"}
a=a b=b
{"a":"a","b":"b"}
[1, 2, 3]
[1,2,3]
[a=a, b=b c=c]
[{"a":"a"},{"b":"b","c":"c"}]
[a, b, c]
["a","b","c"]
a
"a"
a=[1, 2, 3]
{"a":[1,2,3]}
Edge cases will be figured out as we go
Due to the fact that we can pretty much replicate the few gocui features we use in probably a few hundreds lines of code, in order to have more control it'd be good to move to tcell, since it also has some pretty nice advantages, such as being more portable and not requiring clever hacks so that code is run on the main thread.
When in ESC mode, Up, Down, PgUp, PgDown should be used for scrolling through the log. Also, scrolling using the mouse wheel would be nice.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.