refactor out non-view field from cursor
[?]
Jul 22, 2025, 1:22 PM
K63JN6CRRCP4S5NY2FPH46Q7QLWH4B6QXQHKFPVQBHHIHNDVXFDQCDependencies
- [2]
4ELJZGRJload and store all change diffs at once - [3]
L6KSEFQImove cursor related stuff into its module - [4]
BFN2VHZSrefactor file stuff into sub-mod - [5]
23SFYK4Qbig view refactor into a new crate - [6]
XSZZB47Urefactor stuff into lib - [7]
ACDXXAX2refactor main's updates into smaller fns - [8]
ESMM3FELtest selection reindexing - [9]
SASAN2XCuse nav-scrollable - [10]
YKHE3XMWrefactor diffs handling - [11]
KWTBNTO3diffs selection and scrolling - [12]
5MUEECMJsmooth scrolling nav - [13]
3TLPJ57Balt scroll via context and couple fixes - [14]
AI3IMKC3refactor stairs - [15]
WXQBBQ2Aupdate nightly - [16]
PTWZYQFRuse nav-scrollable for repo status - [17]
UR4J677Rnav for log changes and refactors - [18]
A5YBC77Vrecord! - [19]
KEPKF3WOunify diffs handling, simplify view - [20]
BNHJU2DUclippy fixes - [21]
JE44NYHMdisplay log files diffs - [22]
3BK22XE5add a test for hover btn and more refactors - [23]
KQABQCCZupdate rust to 1.88 - [24]
RDRBP7ALauto-scroll status selection - [25]
4PNWU55Oreplace the circular hor navigation - [*]
6YZAVBWUInitial commit - [*]
WT3GA27Padd cursor with selection
Change contents
- edit in inflorescence_view/src/cursor.rs at line 28
/// Last directional key down that's not yet been releasedpub held_key: Option<HeldKey>, - replacement in inflorescence/src/main.rs at line 325
}) = state.cursor.selection.as_ref()}) = state.cursor.view.selection.as_ref() - replacement in inflorescence/src/main.rs at line 355
state.cursor.selection = Nonestate.cursor.view.selection = None - replacement in inflorescence/src/main.rs at line 367
state.cursor.selection = Some(selection);state.cursor.view.selection = Some(selection); - replacement in inflorescence/src/main.rs at line 385
}) = state.cursor.selection.as_ref()}) = state.cursor.view.selection.as_ref() - replacement in inflorescence/src/main.rs at line 419
state.cursor.selection = Nonestate.cursor.view.selection = None - replacement in inflorescence/src/main.rs at line 432
state.cursor.selection = Some(selection);state.cursor.view.selection = Some(selection); - replacement in inflorescence/src/main.rs at line 556
}) = state.cursor.selection.as_mut()}) = state.cursor.view.selection.as_mut() - replacement in inflorescence/src/main.rs at line 675
if let Some(selection) = cursor.selection.take() {if let Some(selection) = cursor.view.selection.take() { - replacement in inflorescence/src/main.rs at line 788
cursor.selection = selection;cursor.view.selection = selection; - replacement in inflorescence/src/main.rs at line 808
}) = state.cursor.selection.as_mut()}) = state.cursor.view.selection.as_mut() - replacement in inflorescence/src/main.rs at line 1029
let diff_nav_subs = match state.cursor.selection.as_ref() {let diff_nav_subs = match state.cursor.view.selection.as_ref() { - replacement in inflorescence/src/main.rs at line 1110
let selection = match state.cursor.selection.as_ref() {let selection = match state.cursor.view.selection.as_ref() { - replacement in inflorescence/src/main.rs at line 1229
cursor,cursor: &cursor.view, - replacement in inflorescence/src/cursor.rs at line 5
Dir, HeldKey, LogChangeFileSelection, Msg, Select, Selection, State,Dir, HeldKey, LogChangeFileSelection, Msg, Select, Selection,State as ViewState, - edit in inflorescence/src/cursor.rs at line 17
#[derive(Debug, Default)]pub struct State {pub view: ViewState,/// Last directional key down that's not yet been releasedpub held_key: Option<HeldKey>,} - replacement in inflorescence/src/cursor.rs at line 131
let (selection, task) = match state.selection.take() {let (selection, task) = match state.view.selection.take() { - replacement in inflorescence/src/cursor.rs at line 423
state.selection = selection;state.view.selection = selection; - replacement in inflorescence/src/cursor.rs at line 442
let (selection, task) = match state.selection.take() {let (selection, task) = match state.view.selection.take() { - replacement in inflorescence/src/cursor.rs at line 732
state.selection = selection;state.view.selection = selection; - replacement in inflorescence/src/cursor.rs at line 742
match state.selection.as_mut() {match state.view.selection.as_mut() { - replacement in inflorescence/src/cursor.rs at line 816
match state.selection.as_mut() {match state.view.selection.as_mut() { - replacement in inflorescence/src/cursor.rs at line 896
match state.selection.take() {match state.view.selection.take() { - replacement in inflorescence/src/cursor.rs at line 964
state.selection = selection;state.view.selection = selection; - edit in inflorescence/src/cursor.rs at line 982
.view - replacement in inflorescence/src/cursor.rs at line 1135
state.selection = selection;state.view.selection = selection; - replacement in inflorescence/src/cursor.rs at line 1149
match state.selection.as_mut() {match state.view.selection.as_mut() { - replacement in inflorescence/src/cursor.rs at line 1300
match state.selection.take() {match state.view.selection.take() { - replacement in inflorescence/src/cursor.rs at line 1341
state.selection = selection;state.view.selection = selection;