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
|
## TUI issues
|
||||||
|
|
||||||
Starting the TUI with a ticker symbol doesn't uppercase (why can't we just solve
|
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
|
this once?). Display artifacts that don't go away when switching tabs (need
|
||||||
display that don't go away when switching tabs (need specific steps to reproduce
|
specific steps to reproduce).
|
||||||
this).
|
|
||||||
|
|
||||||
## Risk-free rate maintenance
|
## Risk-free rate maintenance
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -511,6 +511,12 @@ const App = struct {
|
||||||
return;
|
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;
|
const action = self.keymap.matchAction(key) orelse return;
|
||||||
switch (action) {
|
switch (action) {
|
||||||
.quit => {
|
.quit => {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue