(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf
:
import json | |
# from pyodide import code | |
# print('js', dir(js)) | |
v = 0; | |
def calc(a): | |
global v | |
v += 1 | |
return json.dumps({'a': a + v, 'b': True}) | |