diff options
| author | Hannu Hartikainen <hannu.hartikainen@gmail.com> | 2021-04-02 23:59:04 +0300 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-04-04 16:25:47 -0700 |
| commit | c9ffb6f734567ecb2a368d0d8786e9d1365f42b8 (patch) | |
| tree | 8aebe9ad34e1d911a021984cafe71309b375a97b /src/codegen.zig | |
| parent | 545830c0fff449f219557b45911195b4a4026692 (diff) | |
| download | zig-c9ffb6f734567ecb2a368d0d8786e9d1365f42b8.tar.gz zig-c9ffb6f734567ecb2a368d0d8786e9d1365f42b8.zip | |
std docs: enhance search browser history UX
Before this change every keypress in the search field causes a browser
history entry, which makes navigating back annoying.
On first keypress in the search field, a new history entry is created.
On subsequent keypresses, the most recent history entry is replaced.
Therefore a typical history after searching and navigating to an entry
might look like
1. documentation root
2. search page "print"
3. docs for `std.debug.print`
Co-authored-by: Žiga Željko <ziga.zeljko@gmail.com>
Diffstat (limited to 'src/codegen.zig')
0 files changed, 0 insertions, 0 deletions
