1
0
mirror of https://github.com/makew0rld/amfora.git synced 2024-06-25 19:55:22 +00:00

🐛 TOFU popup has question mark now

This commit is contained in:
makeworld 2020-07-02 14:36:41 -04:00
parent 61e54f4b8f
commit d2c8231377
2 changed files with 3 additions and 1 deletions

View File

@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Selected link URL is displayed in the bottom bar (#24) - Selected link URL is displayed in the bottom bar (#24)
- Pressing <kbd>Ctrl-T</kbd> with a link selected opens it in a new tab (#27) - Pressing <kbd>Ctrl-T</kbd> with a link selected opens it in a new tab (#27)
- Writing `new:N` in the bottom bar will open link number N in a new tab (#27) - Writing `new:N` in the bottom bar will open link number N in a new tab (#27)
- Quote lines are now in italics (#28)
### Changed ### Changed
- Bottom bar now says `URL/Num./Search: ` when space is pressed - Bottom bar now says `URL/Num./Search: ` when space is pressed
@ -30,6 +31,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Reloading the new tab page doesn't cause an error popup - Reloading the new tab page doesn't cause an error popup
- Help table cells are hardwrapped so the text can still be read entirely on an 80-column terminal - Help table cells are hardwrapped so the text can still be read entirely on an 80-column terminal
- New tab text is wrapped to terminal width like other pages (#31) - New tab text is wrapped to terminal width like other pages (#31)
- TOFU "continue anyway" popup has a question mark at the end
## [1.1.0] - 2020-06-24 ## [1.1.0] - 2020-06-24
### Added ### Added

View File

@ -212,7 +212,7 @@ func Tofu(host string) bool {
yesNoModal.SetBackgroundColor(tcell.ColorBlack) yesNoModal.SetBackgroundColor(tcell.ColorBlack)
} }
yesNoModal.SetText( yesNoModal.SetText(
fmt.Sprintf("%s's certificate has changed, possibly indicating an security issue. Are you sure you want to continue?", host), fmt.Sprintf("%s's certificate has changed, possibly indicating an security issue. Are you sure you want to continue? ", host),
) )
tabPages.ShowPage("yesno") tabPages.ShowPage("yesno")
tabPages.SendToFront("yesno") tabPages.SendToFront("yesno")