Skip to content

Commit

Permalink
selection p6
Browse files Browse the repository at this point in the history
  • Loading branch information
Kacperacy committed Jun 27, 2024
1 parent 1a7a4fb commit c0dbfb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@ pub struct Position {

#[derive(Debug)]
pub struct App {
prompt_cursor_position: Position,
quit_times: i8,
pub running: bool,
pub content: Vec<GapBuffer>,
pub cursor_position: Position,
pub cursor_offset: Position,
pub opened_filename: String,
pub window_size: Rect,
pub dirty: bool,
quit_times: i8,
pub is_prompt: bool,
pub prompt: String,
prompt_cursor_position: Position,
pub status: String,
pub line_numbers_width: usize,
pub is_selecting: bool,
Expand Down
1 change: 0 additions & 1 deletion src/ui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ pub fn render(app: &mut App, frame: &mut Frame) {

let pos = app.get_cursor_position();

// TODO: remove highlight if select
// TODO: remove highlight if select
let content_lines: Vec<Line> = app
.content
Expand Down

0 comments on commit c0dbfb0

Please sign in to comment.