Commit Graph

569 Commits

Author SHA1 Message Date
Florian Bruhin
1e8cb42c00 Rewrite whole command system.
Every command signal now returns a tuple (count, args) and gets handled
in app.py by cmd_handler. This makes things easier in a lot of places.
2014-01-19 22:55:00 +01:00
Florian Bruhin
114c2c01d3 First broken attempt at implementing count 2014-01-19 22:25:54 +01:00
Florian Bruhin
bf99519046 More key refactoring 2014-01-19 20:45:01 +01:00
Florian Bruhin
fb54eb58c1 Start reworking key parsing 2014-01-19 19:41:34 +01:00
Florian Bruhin
bba3696630 commands: Implement scrollstart and scrollend 2014-01-19 18:43:47 +01:00
Florian Bruhin
8ca98da6c4 commands: Add debug output when command is called 2014-01-19 18:43:34 +01:00
Florian Bruhin
0dd204b182 Implement scroll{left,right} 2014-01-19 17:45:03 +01:00
Florian Bruhin
ff938fc0d5 Add undo command 2014-01-17 23:17:24 +01:00
Florian Bruhin
022fc7aa4e Add scrolling commands 2014-01-17 22:02:11 +01:00
Florian Bruhin
ff855d6ded Add commands reload/stop/back/forward/print 2014-01-17 21:51:38 +01:00
Florian Bruhin
5efa56c5bb Add logging 2014-01-17 20:03:21 +01:00
Florian Bruhin
3a76d52ffb Move keys.py to commands 2014-01-17 12:01:21 +01:00
Florian Bruhin
b14f3f63c5 Fix empty command handling 2014-01-17 12:00:13 +01:00
Florian Bruhin
4e9527fb4c More fixups 2014-01-17 11:55:16 +01:00
Florian Bruhin
df48208524 tolower() -> lower() 2014-01-17 11:29:06 +01:00
Florian Bruhin
6e700ba4ad Fix inspect namespacing 2014-01-17 11:28:46 +01:00
Florian Bruhin
f61debd2f4 Fix circular import 2014-01-17 11:28:35 +01:00
Florian Bruhin
04140d9777 Remove explicit command name 2014-01-17 11:14:19 +01:00
Florian Bruhin
61c90f293c Split commands to commands/utils 2014-01-17 10:57:27 +01:00