diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/commands.c | 1 | ||||
-rw-r--r-- | src/uzbl-core.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/commands.c b/src/commands.c index ff3b15f..8896250 100644 --- a/src/commands.c +++ b/src/commands.c @@ -116,6 +116,7 @@ toggle_status (WebKitWebView* page, GArray *argv, GString *result) { * scroll vertical 20 * scroll vertical 20% * scroll vertical -40 + * scroll vertical 20! * scroll vertical begin * scroll vertical end * scroll horizontal 10 diff --git a/src/uzbl-core.c b/src/uzbl-core.c index c3bc2dd..e869162 100644 --- a/src/uzbl-core.c +++ b/src/uzbl-core.c @@ -331,6 +331,8 @@ scroll(GtkAdjustment* bar, gchar *amount_str) { if (*end == '%') value += page_size * amount * 0.01; + else if (*end == '!') + value = amount; else value += amount; |