diff --git a/NOTES.md b/NOTES.md index 9997437..919e3a7 100644 --- a/NOTES.md +++ b/NOTES.md @@ -6,8 +6,6 @@ ## Bugs - Wrapping is messed up on CHAZ post, but nothing else - Filed [issue 23](https://gitlab.com/tslocum/cview/-/issues/23) -- Error modal doesn't show the title - - Filed [issue 24](https://gitlab.com/tslocum/cview/-/issues/24) - Text background not reset on ANSI pages - Filed [issue 25](https://gitlab.com/tslocum/cview/-/issues/25) - Inputfield isn't repeatedly in focus @@ -19,3 +17,4 @@ - Add GIF to README - Pass `gemini://egsam.pitr.ca/` test - Timeout for server not closing connection? +- Add titles to modal with `modal.GetFrame()` diff --git a/README.md b/README.md index 88892ef..9bab5ed 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,18 @@ # Amfora -![Amfora logo](logo.png) -##### Modified from: amphora by Alvaro Cabrera from the Noun Project +
+amphora logo +
Modified from: amphora by Alvaro Cabrera from the Noun Project
+
+ [![go reportcard](https://goreportcard.com/badge/github.com/makeworld-the-better-one/amfora)](https://goreportcard.com/report/github.com/makeworld-the-better-one/amfora) [![license GPLv3](https://img.shields.io/github/license/makeworld-the-better-one/amfora)](https://www.gnu.org/licenses/gpl-3.0.en.html) +
+Demo GIF +
+ Amfora aims to be the best looking [Gemini](https://gemini.circumlunar.space/) client with the most features... all in the terminal. It does not support Gopher or other non-Web protocols - check out [Bombadillo](http://bombadillo.colorfield.space/) for that. It also aims to be completely cross platform, with full Windows support. If you're on Windows, I would not reccomend using the default terminal software. Maybe use [Cmder](https://cmder.net/) instead? diff --git a/demo-large.gif b/demo-large.gif new file mode 100644 index 0000000..9c5a66a Binary files /dev/null and b/demo-large.gif differ diff --git a/display/modals.go b/display/modals.go index 69d2b9d..1f89056 100644 --- a/display/modals.go +++ b/display/modals.go @@ -24,7 +24,6 @@ var errorModal = cview.NewModal(). SetTextColor(tcell.ColorWhite). AddButtons([]string{"Ok"}) -// TODO: Support input var inputModal = cview.NewModal(). SetBackgroundColor(tcell.ColorGreen). SetButtonBackgroundColor(tcell.ColorNavy). diff --git a/renderer/renderer.go b/renderer/renderer.go index aefaeca..a356ac8 100644 --- a/renderer/renderer.go +++ b/renderer/renderer.go @@ -49,9 +49,6 @@ func CanDisplay(res *gemini.Response) bool { // // Since this only works on non-preformatted blocks, renderGemini // should always be used instead. -// -// TODO: Style cross-protocol links differently -// func convertRegularGemini(s string, numLinks int) (string, []string) { links := make([]string, 0) lines := strings.Split(s, "\n")