summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-29 18:39:54 -0300
committerGabriel Schneider <[email protected]>2026-10-29 19:38:53 -0300
commitb3b2768cc82105fa2a1845b7a7a3767c51173afb (patch)
tree053c3af65f75a9218485684c786ddf5dbbfc8d49 /src
parent74286e81e88a6df7586ead9e8bcd503d44446a85 (diff)
downloadpardes-b3b2768cc82105fa2a1845b7a7a3767c51173afb.tar.gz
pardes-b3b2768cc82105fa2a1845b7a7a3767c51173afb.zip
docs/next-daemon.md: phase 4's gates and perf (every cell inside its A/A), and what is not done; ponytail marks for the shortcuts left (a paste shared by every terminal, a second window's hit test, one display density per process)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/gui/gui.zig7
-rw-r--r--src/tty/tty.zig2
2 files changed, 8 insertions, 1 deletions
diff --git a/src/gui/gui.zig b/src/gui/gui.zig
index 2d9124cc..a342cfe2 100644
--- a/src/gui/gui.zig
+++ b/src/gui/gui.zig
@@ -2333,6 +2333,9 @@ fn reopenWindow(g: *Gui) bool {
g.window = window;
if (g.window_slot) |slot| slot.* = window;
updateDisplayScale(window);
+ // ponytail: another view's window asks the hit test of whichever
+ // window's share the Gui holds then (the workspace tag sits in the same
+ // place in every view); a test per window if one moves it.
if (!g.capture) _ = c.SDL_SetWindowHitTest(window, hitTest, g);
_ = c.SDL_StartTextInput(window);
return true;
@@ -9604,7 +9607,9 @@ fn rulePx(chrome: *const pardes.Chrome) f32 {
/// by which every size given in logical pixels is drawn, as acme scales its
/// Border, ButtonBorder and Scrollgap (scalesize). Cells, glyphs and what is
/// measured in them are already the display's pixels and are not scaled.
-/// ponytail: one window per process, so one global; per window if ever two.
+/// ponytail: one per process: a session's windows (views.zig) on screens
+/// of two densities draw at the density of the last one opened or moved;
+/// a field of `window_fields` when that matters.
var display_scale: f32 = 1;
/// The window's display scale, or PARDES_TEST_SCALE (a harness forcing 2x);
diff --git a/src/tty/tty.zig b/src/tty/tty.zig
index b56e74b1..a7048645 100644
--- a/src/tty/tty.zig
+++ b/src/tty/tty.zig
@@ -1677,6 +1677,8 @@ const Shell = struct {
pipe_tasks: PipeTasks = .{},
threads_ok: bool = false,
check_files: bool = false,
+ // ponytail: one bracketed paste at a time for every terminal: keys
+ // another terminal sends while one pastes join its paste.
in_paste: bool = false,
/// PARDES_TEST_CLOCK's virtual time (host_io.testClock), and where the
/// running-out wait moves it: the core's next wake.