summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2019-06-28 21:56:37 -0400
committerJiayi Zhao <jeff.no.zhao@gmail.com>2019-06-28 21:56:37 -0400
commit57564e71c806ff2089bf47c041c127bd43b015b1 (patch)
tree7645fe0743e4af98458923150276206317e45d2e /src
parent8867e4e11d2649cb8459c792fa4b316bb5e97647 (diff)
remove unimplemented!
Diffstat (limited to 'src')
-rw-r--r--src/textfield.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/textfield.rs b/src/textfield.rs
index c23924c..65a0109 100644
--- a/src/textfield.rs
+++ b/src/textfield.rs
@@ -154,9 +154,9 @@ impl<'a> JoshutoTextField<'a> {
&line_buffer.as_str()[..line_buffer.pos()],
);
} else if ch == KEYMAP_T.up {
- unimplemented!();
+ // TODO
} else if ch == KEYMAP_T.down {
- unimplemented!();
+ // TODO
} else if let Some(ch) = std::char::from_u32(ch as u32) {
if line_buffer.insert(ch, 1).is_some() {
curr_pos += unicode_width::UnicodeWidthChar::width(ch).unwrap_or(1);