auto-focus logs when pod is selected#106
auto-focus logs when pod is selected#106frudolph77 wants to merge 1 commit intoastefanutti:masterfrom
Conversation
|
I can see it's useful in some use cases. On the other hand, I can also see use cases where it's not ideal. For example, with pods having more than one containers. One idea could be to focus the log element only when the Shift key or Alt key has also been pressed? |
|
As far as I understand the code blessed does not support key |
|
It should be possible to test for |
Yes, i know. I've added this code to dashboard.js: pods_table.key(['S-enter', 'C-enter', 'enter'], (_, key) => {
debug.log("pods_table.key('enter') : '" + JSON.stringify(key) +"'");
});
screen.on('keypress', function(key) {
debug.log("screen.on('keypress') : '" + JSON.stringify(key) +"'");
});The I'm pretty sure that there is no keybinding for |
|
OK, thanks. I'll have a deeper look at it ASAP. |
3be7127 to
bd5f34a
Compare
auto-focus logs when pod is selected.
From my point of view, a very useful feature.