You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: data.rs
    path of file: ./repos/lapce/lapce-app/src/terminal
    
    the code of the file until where you have to start completion: use std::{path::PathBuf, rc::Rc, sync::Arc};

use alacritty_terminal::{
    grid::{Dimensions, Scroll},
    selection::{Selection, SelectionType},
    term::{test::TermSize, TermMode},
    vi_mode::ViMotion,
    Term,
};
use floem::{
    keyboard::{Key, KeyEvent, ModifiersState, NamedKey},
    reactive::{RwSignal, Scope},
    views::editor::text::SystemClipboard,
};
use lapce_core::{
    command::
    
    pub fn wheel_scroll(&self, delta: f64) {
        let config = self.common.config.get_untracked();
        let step = config.terminal_line_height() as f64;
        let raw = self.raw.get_untracked();
        let mut raw = raw.write();
        raw.scroll_delta -= delta;
        let delta = (raw.scroll_delta / step) as i32;
        raw.scroll_delta -= delta as f64 * step;
        if delta != 0 {
            let scroll = alacritty_terminal::grid::Scroll::Delta(delta);
            raw.term.scroll_display(scroll);
        }
    }