Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed Dec 3, 2023
1 parent d483c3e commit b9fabc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kitty/options/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1170,7 +1170,7 @@ def __get__(self, obj: object, type: Optional[type] = None) -> T:
def __set__(self, obj: object, value: str) -> None:
if value not in self._vals:
raise KeyError(f'Invalid value for {self._name[1:]}: {value!r}')
object.__setattr__(self, self._name, value)
object.__setattr__(obj, self._name, value)


OnUnknown = Literal['beep', 'end', 'ignore', 'passthrough']
Expand Down

0 comments on commit b9fabc6

Please sign in to comment.