diff options
author | Jerry Yin <enjmiah@users.noreply.github.com> | 2019-04-08 12:50:06 -0700 |
---|---|---|
committer | Christian Duerr <chrisduerr@users.noreply.github.com> | 2019-04-08 19:50:06 +0000 |
commit | 090842bd8e8890c40cf40a4430bae1b073515c40 (patch) | |
tree | 1afb5090a7ef07d14fd3d284e96d6c78d966a3a6 /src/config/mod.rs | |
parent | 6757acbb824e8be9968529a66e9a75a0a2ea2f5d (diff) | |
download | r-alacritty-090842bd8e8890c40cf40a4430bae1b073515c40.tar.gz r-alacritty-090842bd8e8890c40cf40a4430bae1b073515c40.tar.bz2 r-alacritty-090842bd8e8890c40cf40a4430bae1b073515c40.zip |
Add ScrollLineUp and ScrollLineDown actions for scrolling line by line
Diffstat (limited to 'src/config/mod.rs')
-rw-r--r-- | src/config/mod.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/config/mod.rs b/src/config/mod.rs index 94e74e41..14ebc87d 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -868,8 +868,9 @@ impl<'a> de::Deserialize<'a> for ActionWrapper { fn expecting(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { f.write_str( "Paste, Copy, PasteSelection, IncreaseFontSize, DecreaseFontSize, \ - ResetFontSize, ScrollPageUp, ScrollPageDown, ScrollToTop, ScrollToBottom, \ - ClearHistory, Hide, ClearLogNotice, SpawnNewInstance, None or Quit", + ResetFontSize, ScrollPageUp, ScrollPageDown, ScrollLineUp, ScrollLineDown, \ + ScrollToTop, ScrollToBottom, ClearHistory, Hide, ClearLogNotice, \ + SpawnNewInstance, None or Quit", ) } @@ -886,6 +887,8 @@ impl<'a> de::Deserialize<'a> for ActionWrapper { "ResetFontSize" => Action::ResetFontSize, "ScrollPageUp" => Action::ScrollPageUp, "ScrollPageDown" => Action::ScrollPageDown, + "ScrollLineUp" => Action::ScrollLineUp, + "ScrollLineDown" => Action::ScrollLineDown, "ScrollToTop" => Action::ScrollToTop, "ScrollToBottom" => Action::ScrollToBottom, "ClearHistory" => Action::ClearHistory, |