Commit 467ad24
committed
Use full mode when deciding to render or not
resolves: #43
# Details
Currently we truncate mode to the first character when deciding to
render or not. This reduces the amount of control we have, as described
in the issue above, where not rendering during operator pending mode
`no` would improve navigation.
The fix is to remove any truncation logic so we access the full mode.
This on its own handles operator pending correctly as `no` mode is
no longer considered a render mode. So the defaults do not change.
There could be some edge cases that crop up with different mode
combinations so may need to update the default set of rendered modes,
but seems to work as expected from some basic use.1 parent 6eef62c commit 467ad24
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
251 | | - | |
| 250 | + | |
| 251 | + | |
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments