1
0
mirror of https://github.com/makew0rld/amfora.git synced 2024-12-04 14:46:29 -05:00

🐛 Can't change links while page is loading

This commit is contained in:
makeworld 2020-07-10 19:49:17 -04:00
parent 9e357acc3f
commit 7d71af116d
3 changed files with 11 additions and 2 deletions

View File

@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### Fixed
- You can't change link selection while the page is loading
## [1.3.0] - 2020-07-10 ## [1.3.0] - 2020-07-10
### Added ### Added
- **Downloading content** (#38) - **Downloading content** (#38)

View File

@ -72,7 +72,7 @@ Features in *italics* are in the master branch, but not in the latest release.
- [x] Multiple charset support (over 55) - [x] Multiple charset support (over 55)
- [x] Built-in search (uses GUS by default) - [x] Built-in search (uses GUS by default)
- [x] Bookmarks - [x] Bookmarks
- [x] *Download pages and arbitrary data* - [x] Download pages and arbitrary data
- [ ] Search in pages with <kbd>Ctrl-F</kbd> - [ ] Search in pages with <kbd>Ctrl-F</kbd>
- [ ] Emoji favicons - [ ] Emoji favicons
- See `gemini://mozz.us/files/rfc_gemini_favicon.gmi` for details - See `gemini://mozz.us/files/rfc_gemini_favicon.gmi` for details

View File

@ -55,7 +55,11 @@ func makeNewTab() *tab {
tab := curTab // Don't let it change in the middle of the code tab := curTab // Don't let it change in the middle of the code
if key == tcell.KeyEsc && tabs[tab].mode == tabModeDone { if tabs[tab].mode != tabModeDone {
return
}
if key == tcell.KeyEsc {
// Stop highlighting // Stop highlighting
bottomBar.SetLabel("") bottomBar.SetLabel("")
bottomBar.SetText(tabs[tab].page.Url) bottomBar.SetText(tabs[tab].page.Url)