Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
a5e41a9
Handle ctrl-h like backspace
Feb 4, 2020
87cc402
Merge branch 'master' of https://github.com/rigellute/spotify-tui
Feb 27, 2020
dbc749e
Merge branch 'master' of https://github.com/rigellute/spotify-tui
Apr 6, 2020
a49e73e
Merge branch 'master' of https://github.com/rigellute/spotify-tui
Apr 20, 2020
c9e6996
Merge branch 'master' of https://github.com/rigellute/spotify-tui
Jun 15, 2020
be960c7
Merge branch 'master' of https://github.com/sputnick1124/spotify-tui
Aug 24, 2020
1b0a1fe
Merge branch 'master' of https://github.com/rigellute/spotify-tui
Aug 24, 2020
01ed400
Stub out podcast search results
sputnick1124 Sep 2, 2020
bafc623
Draw podcast search results
sputnick1124 Sep 2, 2020
cc25aa5
Draw rough podcast episode table
sputnick1124 Sep 12, 2020
7917d17
Stub out EpisodeTable handlers
sputnick1124 Sep 15, 2020
b07d0b9
Get episode playback working.
sputnick1124 Sep 18, 2020
c1b8689
Rename MyShows -> SavedShows
sputnick1124 Sep 18, 2020
cae20ed
Make borrow checker happy
sputnick1124 Sep 18, 2020
86b9114
RustFmt fixes
sputnick1124 Sep 18, 2020
5fc9768
Better Date/Title/Duration layout
sputnick1124 Sep 18, 2020
1c4d471
Show episode resume point/played status
sputnick1124 Sep 18, 2020
cb8943b
rustfmt appeasement
sputnick1124 Sep 18, 2020
a442ad2
Get rid of EpisodeTableContext
sputnick1124 Sep 19, 2020
4a4086f
Add jump_to[start|end] for show episodes
sputnick1124 Sep 19, 2020
dd8a6ca
Remove debug print
sputnick1124 Sep 19, 2020
5bb859f
Merge branch 'master' into podcast-support-search
sputnick1124 Sep 19, 2020
bb47ac4
Update to match new tui API
sputnick1124 Sep 19, 2020
8000dcd
Make rustfmt happy
sputnick1124 Sep 19, 2020
2e7238f
Merge branch 'master' into podcast-support-search
sputnick1124 Sep 21, 2020
c6b02c7
Merge branch 'master' into podcast-support-search
Sep 21, 2020
94b61a3
Merge branch 'master' of https://github.com/rigellute/spotify-tui
Sep 21, 2020
8a2d10b
Merge branch 'master' into podcast-support-search
Sep 21, 2020
57249c1
Toggle order of podcast episodes
sputnick1124 Sep 22, 2020
303bcd1
Merge branch 'master' of https://github.com/rigellute/spotify-tui
Sep 22, 2020
9e4b665
Merge branch 'podcast-support-search' of https://github.com/sputnick1…
Sep 22, 2020
f27f1ce
Merge branch 'master' into podcast-support-search
Sep 22, 2020
c116c0b
Handle ShowSearch for new key option
Sep 22, 2020
f1c7307
Merge branch 'master' of https://github.com/rigellute/spotify-tui int…
Sep 30, 2020
010c142
Use user config'd keys for paging
Sep 30, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make rustfmt happy
  • Loading branch information
sputnick1124 committed Sep 19, 2020
commit 8000dcd5c78e664100078a956d7d50e47760a868
6 changes: 3 additions & 3 deletions src/handlers/episode_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ pub fn handler(key: Key, app: &mut App) {
}

fn jump_to_end(app: &mut App) {
let last_idx = &app.episode_table.episodes.len() - 1;
app.episode_table.selected_index = last_idx;
let last_idx = &app.episode_table.episodes.len() - 1;
app.episode_table.selected_index = last_idx;
}

fn on_enter(app: &mut App) {
Expand All @@ -70,5 +70,5 @@ fn on_enter(app: &mut App) {
}

fn jump_to_start(app: &mut App) {
app.episode_table.selected_index = 0;
app.episode_table.selected_index = 0;
}
4 changes: 2 additions & 2 deletions src/handlers/search_results.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use super::{
super::app::{
ActiveBlock, App, DialogContext, RecommendationsContext, RouteId,
SearchResultBlock, TrackTableContext,
ActiveBlock, App, DialogContext, RecommendationsContext, RouteId, SearchResultBlock,
TrackTableContext,
},
common_key_events,
};
Expand Down