simpler vline
5867c533
1 file(s) · +2 −4
| 330 | 330 | cursor = nextrune(-1); |
|
| 331 | 331 | break; |
|
| 332 | 332 | } |
|
| 333 | - | else if(lines > 0) |
|
| 334 | - | return; |
|
| 333 | + | /* fallthrough */ |
|
| 335 | 334 | case XK_Up: |
|
| 336 | 335 | if(sel && sel->left && (sel = sel->left)->right == curr) { |
|
| 337 | 336 | curr = prev; |
|
| 359 | 358 | cursor = nextrune(+1); |
|
| 360 | 359 | break; |
|
| 361 | 360 | } |
|
| 362 | - | else if(lines > 0) |
|
| 363 | - | return; |
|
| 361 | + | /* fallthrough */ |
|
| 364 | 362 | case XK_Down: |
|
| 365 | 363 | if(sel && sel->right && (sel = sel->right) == next) { |
|
| 366 | 364 | curr = next; |
|