k9s/internal/model
tyzbit cc1c86ccb4
feat(app): add history navigation with `[` and `]`, most recent command with `-` (#2799)
* feat(app): add Go Back and Last View

Go Back walks back through the history until at the oldest saved view

Last View switches between the current and previous views like how "cd -" works

* feat(history): add keyboard shortcuts to navigate history

* fix(tests): fix history/app tests

* docs(README): update history and last command navigation info

* fix(internal): add missing parameter

* feat(help): add history keybinds

* fix(help): adjust capitalization for history commands

* docs(readme): fix typo

Co-authored-by: merusso <merusso@gmail.com>

---------

Co-authored-by: merusso <merusso@gmail.com>
2025-02-15 17:40:29 -07:00
..
testdata refactor pf and benchmarks 2020-02-14 14:28:52 -07:00
cluster.go K9s/release v0.32.0 (#2577) 2024-03-02 10:18:47 -07:00
cluster_info.go K9s/release v0.32.0 (#2577) 2024-03-02 10:18:47 -07:00
cluster_info_test.go Clean up items... (#2303) 2023-11-19 08:43:39 -07:00
cmd_buff.go Clean up items... (#2303) 2023-11-19 08:43:39 -07:00
cmd_buff_test.go Clean up items... (#2303) 2023-11-19 08:43:39 -07:00
describe.go K9s/release v0.32.0 (#2577) 2024-03-02 10:18:47 -07:00
fish_buff.go K9s/rel v0.30.0 (#2361) 2023-12-23 14:29:55 -07:00
fish_buff_test.go Clean up items... (#2303) 2023-11-19 08:43:39 -07:00
flash.go Fix typos (#3026) 2024-12-16 09:09:22 -07:00
flash_test.go Clean up items... (#2303) 2023-11-19 08:43:39 -07:00
helpers.go Rel v0.40.0 (#3109) 2025-02-15 15:33:33 -07:00
helpers_int_test.go Release v0.32.6 (#2955) 2024-11-10 10:08:54 -07:00
helpers_test.go K9s/release v0.30.7 (#2416) 2024-01-02 23:57:07 -07:00
hint.go Clean up items... (#2303) 2023-11-19 08:43:39 -07:00
hint_test.go Clean up items... (#2303) 2023-11-19 08:43:39 -07:00
history.go feat(app): add history navigation with `[` and `]`, most recent command with `-` (#2799) 2025-02-15 17:40:29 -07:00
history_test.go feat(app): add history navigation with `[` and `]`, most recent command with `-` (#2799) 2025-02-15 17:40:29 -07:00
log.go Fix typos (#3026) 2024-12-16 09:09:22 -07:00
log_int_test.go Clean up items... (#2303) 2023-11-19 08:43:39 -07:00
log_test.go Clean up items... (#2303) 2023-11-19 08:43:39 -07:00
menu_hint.go Clean up items... (#2303) 2023-11-19 08:43:39 -07:00
menu_hint_test.go Clean up items... (#2303) 2023-11-19 08:43:39 -07:00
pulse.go Clean up items... (#2303) 2023-11-19 08:43:39 -07:00
pulse_health.go Rel v0.40.0 (#3109) 2025-02-15 15:33:33 -07:00
registry.go Rel v0.40.0 (#3109) 2025-02-15 15:33:33 -07:00
rev_values.go K9s/release v0.32.0 (#2577) 2024-03-02 10:18:47 -07:00
semver.go Clean up items... (#2303) 2023-11-19 08:43:39 -07:00
semver_test.go Clean up items... (#2303) 2023-11-19 08:43:39 -07:00
stack.go K9s/release v0.32.0 (#2577) 2024-03-02 10:18:47 -07:00
stack_test.go K9s/rel v0.30.0 (#2361) 2023-12-23 14:29:55 -07:00
table.go Rel v0.40.0 (#3109) 2025-02-15 15:33:33 -07:00
table_int_test.go Rel v0.40.0 (#3109) 2025-02-15 15:33:33 -07:00
table_test.go Rel v0.32.7 (#2971) 2024-11-16 13:21:23 -07:00
text.go K9s/release v0.32.0 (#2577) 2024-03-02 10:18:47 -07:00
text_test.go Clean up items... (#2303) 2023-11-19 08:43:39 -07:00
tree.go Rel v0.40.0 (#3109) 2025-02-15 15:33:33 -07:00
types.go K9s/release v0.32.0 (#2577) 2024-03-02 10:18:47 -07:00
values.go K9s/release v0.32.0 (#2577) 2024-03-02 10:18:47 -07:00
yaml.go Rel v0.40.0 (#3109) 2025-02-15 15:33:33 -07:00