We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a076161 commit 87885fcCopy full SHA for 87885fc
app.py
@@ -872,13 +872,13 @@ def unhandled_input(self, key):
872
return
873
874
# Workspace is selected
875
- if selected_workspace - 1 == self.workspaces_line.selected:
+ if int(key) - 1 == self.workspaces_line.selected:
876
877
+ self.workspaces_line.select(int(key))
878
- self.workspaces_line.select(selected_workspace)
879
# Stop rtm to switch workspace
880
self.real_time_task.cancel()
881
- return self.switch_to_workspace(selected_workspace)
+ return self.switch_to_workspace(int(key))
882
elif key == keymap['set_snooze']:
883
return self.open_set_snooze()
884
0 commit comments