This commit is contained in:
parent
1cd775c27e
commit
36d096a938
2 changed files with 8 additions and 3 deletions
5
TODO.md
5
TODO.md
|
|
@ -28,9 +28,8 @@ question: fixed at 2, or arbitrary N?
|
|||
## TUI issues
|
||||
|
||||
Starting the TUI with a ticker symbol doesn't uppercase (why can't we just solve
|
||||
this once?). ^L isn't refreshing the screen, and I'm getting artifacts on the
|
||||
display that don't go away when switching tabs (need specific steps to reproduce
|
||||
this).
|
||||
this once?). Display artifacts that don't go away when switching tabs (need
|
||||
specific steps to reproduce).
|
||||
|
||||
## Risk-free rate maintenance
|
||||
|
||||
|
|
|
|||
|
|
@ -511,6 +511,12 @@ const App = struct {
|
|||
return;
|
||||
}
|
||||
|
||||
// Ctrl+L: full screen redraw (standard TUI convention, not configurable)
|
||||
if (key.codepoint == 'l' and key.mods.ctrl) {
|
||||
ctx.queueRefresh() catch {};
|
||||
return ctx.consumeAndRedraw();
|
||||
}
|
||||
|
||||
const action = self.keymap.matchAction(key) orelse return;
|
||||
switch (action) {
|
||||
.quit => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue