diff options
author | Francesco Cosoleto | 2011-02-28 12:16:42 +0100 |
---|---|---|
committer | Karel Zak | 2011-03-11 12:28:54 +0100 |
commit | 6141dcb5ebeefb0cf0e8f4a893d91b95b6496d40 (patch) | |
tree | 16b1fa92afd6720ee12c8f0453d585ec1129e1e6 /fdisk/cfdisk.c | |
parent | cfdisk: move keys related to the cursor of the partition list outside menusel... (diff) | |
download | kernel-qcow2-util-linux-6141dcb5ebeefb0cf0e8f4a893d91b95b6496d40.tar.gz kernel-qcow2-util-linux-6141dcb5ebeefb0cf0e8f4a893d91b95b6496d40.tar.xz kernel-qcow2-util-linux-6141dcb5ebeefb0cf0e8f4a893d91b95b6496d40.zip |
cfdisk: add home and end keys movements in partition list
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
Diffstat (limited to 'fdisk/cfdisk.c')
-rw-r--r-- | fdisk/cfdisk.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fdisk/cfdisk.c b/fdisk/cfdisk.c index 1908b85f7..f9aa05942 100644 --- a/fdisk/cfdisk.c +++ b/fdisk/cfdisk.c @@ -2713,6 +2713,12 @@ do_curses_fdisk(void) { clear(); draw_screen(); break; + case KEY_HOME: + draw_cursor(-cur_part); + break; + case KEY_END: + draw_cursor(num_parts - cur_part - 1); + break; default: print_warning(_("Illegal command")); putchar(BELL); /* CTRL-G */ |