Commit graph

18 commits

Author SHA1 Message Date
7410ec5143 Add tests for keypresses 2023-03-21 22:48:06 -07:00
f174f364a4 Re-add assertions and simplify wrapping 2023-03-21 19:45:17 -07:00
Brandon W Maister
3060032a95 ui: Wrap around list when at the endoflife
Pressing "up"/"k" at the top of the UI will now go to the end of the list. And
same in reverse.
2023-02-18 11:27:58 -08:00
Brandon W Maister
85dc2f0707 ui: Switch j and k keys to match vi -- j means down, k means up 2023-02-18 11:27:23 -08:00
81b53355f2 Some more bad tests because I'm bored 2022-12-19 20:53:26 -08:00
e0d1efb997 Add a test for that underflow I fixed 2022-12-19 19:45:07 -08:00
0bb3fac61b Don't underflow on no ports
If ports are empty we underflow on `len()-1`, which is bad. Stop doing
that.
2022-12-19 19:07:05 -08:00
34d1830413 Log URL opens 2022-12-17 11:52:12 -08:00
9cf0089e48 Handle browse message 2022-12-17 08:29:09 -08:00
c9197a02ff Don't panic if the server sends something unexpected
I mean, it *is* a different version.
2022-12-17 08:27:38 -08:00
83f2ad633b Correct my understanding of mutability a little 2022-12-17 08:26:05 -08:00
6f906d80a7 Protocol version, async pump, start some testing 2022-12-16 13:57:52 -08:00
abbb30d87b Remove ports when they're unconfigured
This is closer to what I had intended
2022-11-28 07:03:04 -08:00
46c9643ddf Remove unused import 2022-11-28 06:42:51 -08:00
fc75ffcd4e Remove the disconnected screen 2022-11-28 06:41:26 -08:00
dc374f0d20 Change UI to tui 2022-11-27 08:24:01 -08:00
efb7ef6929 Starting configuration, probably doesn't work 2022-10-18 11:28:56 -07:00
86ea099b2c Split client and server into modules 2022-10-17 19:57:47 -07:00