I have a client instance that needs to be focused. I found only the following ways to give focus to the client:
- focus.bydirection (dir, c) - Focus the client in a given direction.
- focus.byidx (i, c) - concentrate the client by its relative index.
- focus.filter (c) - Filter out a window that we do not want to process
- focus. focus.history.add (c) - Refresh client focus history.
- focus.history.delete (c) - remove the client from the focus history.
- focus.history.get (screen, idx) - Get the last focused client for
- screen in history. focus.history.previous () - Focus the previous client in the story.
But how to focus the client if I already have an instance?
source share