summaryrefslogtreecommitdiff
path: root/next-steps.txt
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-08-24 10:56:05 -0300
committerGabriel Schneider <[email protected]>2026-08-25 09:42:07 -0300
commitc3d0b84b7961ae26d2d654e7120821cc2d83d20d (patch)
tree0b9a060a8ff0ee7d83c8df5ca797a99e0d66c53e /next-steps.txt
parent70bde600793ea70bd68832018a154671c6bf1512 (diff)
downloadpardes-c3d0b84b7961ae26d2d654e7120821cc2d83d20d.tar.gz
pardes-c3d0b84b7961ae26d2d654e7120821cc2d83d20d.zip
host: the core owns the event loop; every platform becomes a vtable of optional methods
Diffstat (limited to 'next-steps.txt')
-rw-r--r--next-steps.txt28
1 files changed, 24 insertions, 4 deletions
diff --git a/next-steps.txt b/next-steps.txt
index 451a25dd..86e53908 100644
--- a/next-steps.txt
+++ b/next-steps.txt
@@ -1,4 +1,24 @@
-+ The selection colors should be based on the theme.
-+ The default layout for when just opening a file should be just the file without the term.
-+ Implement soft line breaks with a builtin to toggle it; the line breaks at min(100 chars, window width)
-+ A new UI semantic element will be implemented which is the transient message section: it will be the latest row of a pane. When executing any builtin that requires and string argument but none was provided right now it should ask for input at the tagline. now it will be at this transient msg that will be left-aligned on the last row. Also when saving a file or a file is reloaded it should display a message there saying the time and what happened. the message should clear when any key on the keyboard is pressed or any mouse button is moved \ No newline at end of file
+meta:
+- version tracking
+- special coloring algorithms are aplied based on the title of a pane. implemented as just ifs and else ifs. one of those ifs will be the one that choses the color algorithm for tty panes, other will select the treesitter coloring for sourcode files, and the other one will be the new one to highlight .patch and .diff files
+- added markdown treesitter highlight with highlighiting of nested codeblocks
+
+new builtin:
+- Changelog
+- Newtty: Added by default on all pane taglines. It will spawn a new tty pane (at tty mode from the start) on the directory of the pane that called it. The pane struct field for the working directory should be a tagged enum for either .none, .inherited (with a pointer to the pane it inherits) or the dir slice itself. when a pane is deleted in a frame, its allocation will leave until the end of the next. During the next frame the deleted frames will be in a special list of deleted frames. this deleted pane list state will live on a new allocator: the pane allocator which will wrap a regular allocator, and this newly deleted list is passed to the pane tick/update/frame as a pointer so that it can just access it. this new allocator will also have the tick/update function so that it wires de regular allocator dealloc/free to the deleted list and the deferred actual deallocation. the pane struct will have a new function that will visit each kind of field that has a pane pointer in it and decide how to update it based on the field type when the pointer is on the deleted list; it's fine that during the runtime each field visits each pointer O(n*m).
+- Joincol: added by default on the full window tagline. it deletes the column of the current/last focused pane and moves its panes to the column to the right. if there's no other column it should do nothing
+
+keyboard:
+- in a tty pane if the current/leaf process is a shell, ESC will have the same behaviour as SHIFT-ESC
+
+
+layout behaviour:
+- When opening a new file, it will only create a new column if both panes affected will have at least 100 columns each. Otherwise will just create a new pane.
+
+bug fix:
+- the tty colors are affected by changes to its normal mode
+
+tests:
+
+- if tty escape scanning is active (chosen when libvaxis is created) it should always use all the features it detects by default.
+- clipboard integration for tty escape codes should work. \ No newline at end of file