diff options
| author | salmonik <salmonik@tuta.io> | 2026-08-21 03:30:35 +0200 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-08-21 03:30:35 +0200 |
| commit | b418c26050870b900ff56d5a47f32209795aaf4a (patch) | |
| tree | cdc181c63b2bbd3a3c1f608cbe0faf9a4e86877b /rsdos | |
| parent | wm: F1 spawns a windowed shell — real shell, not a duplicate (diff) | |
| download | rs-dos-b418c26050870b900ff56d5a47f32209795aaf4a.tar.gz rs-dos-b418c26050870b900ff56d5a47f32209795aaf4a.zip | |
v0.5.11: fix terminal focus — toggle ACTIVE on Focus messages
- tty: read_line_from_queue() now takes &mut Terminal and handles
TaskMsg::Focus: Focus(true) sets ACTIVE to the terminal,
Focus(false) clears it. This fixes the bug where the console
shell's gop_print! output was redirected to the soft terminal
even after focus switched away from it.
- shell: run_windowed() passes the terminal through to read_line_from_queue.
- wm: remove noisy per-key debug logging from pump_main.
Diffstat (limited to '')
| -rw-r--r-- | rsdos/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rsdos/src/main.rs b/rsdos/src/main.rs index e5fb6dd..d1ed506 100644 --- a/rsdos/src/main.rs +++ b/rsdos/src/main.rs | |||
| @@ -483,7 +483,7 @@ fn terminal_entry() { | |||
| 483 | rsnix::vt::set_active(&mut term as *mut Terminal); | 483 | rsnix::vt::set_active(&mut term as *mut Terminal); |
| 484 | 484 | ||
| 485 | // Run the shell — it owns input, line editing, and command execution. | 485 | // Run the shell — it owns input, line editing, and command execution. |
| 486 | shell::run_windowed(); | 486 | shell::run_windowed(&mut term); |
| 487 | 487 | ||
| 488 | // Shell exited (^D or window close). Clean up. | 488 | // Shell exited (^D or window close). Clean up. |
| 489 | rsnix::serial_println!("term: shell exited, cleaning up"); | 489 | rsnix::serial_println!("term: shell exited, cleaning up"); |
