Handle forward key
(&mut self)
| 341 | |
| 342 | // Handle forward key |
| 343 | fn handle_forward(&mut self) |
| 344 | { |
| 345 | self.compupdate(); |
| 346 | self.histupdate(); |
| 347 | if self.cur < self.offset + self.ln.len() |
| 348 | { |
| 349 | print!("\x1b[1C"); |
| 350 | self.cur += 1; |
| 351 | } |
| 352 | } |
| 353 | |
| 354 | |
| 355 | // Handle printable keys |
no test coverage detected