2024-05-12 06:18:17 +02:00
|
|
|
ui_out -until '{ "jsonrpc": "2.0", "method": "refresh", "params": [false] }'
|
2024-02-12 10:30:28 +01:00
|
|
|
|
|
|
|
# We've jumped to the new version of line 2. Move to the old version so we
|
|
|
|
# can annotate the old file.
|
|
|
|
ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ "k:git blame<ret>" ] }'
|
2024-05-12 06:18:17 +02:00
|
|
|
while ui_out -until-grep '"draw_status"' | grep '\[fifo\]'; do :; done > /dev/null
|
2024-02-12 10:30:28 +01:00
|
|
|
|
|
|
|
# We should have jumped to the old version of line 2, assert on kak_selection.
|
|
|
|
ui_in '{ "jsonrpc": "2.0", "method": "keys", "params": [ "x" ] }'
|
2024-05-10 04:04:27 +02:00
|
|
|
ui_out -until '{ "jsonrpc": "2.0", "method": "refresh", "params": [false] }'
|