Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore 'less' Text Pagination Functionality #1113

Closed
wants to merge 27 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
aef3885
Initial attempt to read file into string
Sep 20, 2024
9f597e2
remove errors to read file into initial string
nnh12 Nov 5, 2024
b1bcaa4
write content file when 'less' is called
nnh12 Nov 6, 2024
c22a389
add print string contents to verify existing functionality
nnh12 Nov 8, 2024
abe76e2
Add terminal size to determine line splice
nnh12 Nov 8, 2024
98a43a3
Save recent progress to use correct terminal size
nnh12 Nov 9, 2024
727c1fa
Add correct instance of Terminal for dimension
nnh12 Nov 10, 2024
583d574
Remove window and text display import
nnh12 Nov 10, 2024
da8fdf8
Delete extra 'Terminal' instance
nnh12 Nov 10, 2024
6b871ab
Initial implementation of display content function
nnh12 Nov 10, 2024
c2354b2
Event handler implementation
nnh12 Nov 10, 2024
621a857
Add 'shared_map' to grab the terminal instance
nnh12 Nov 11, 2024
993d6c3
use new instance of 'Terminal' to write to display
nnh12 Nov 12, 2024
0b2e906
attempt to add libterm dependency
nnh12 Nov 17, 2024
527ca79
Attempt to display string to terminal
nnh12 Nov 17, 2024
2dbf85d
Get text pagination to project file onto terminal
nnh12 Nov 19, 2024
443e782
Remove prompt instruction after entering 'less' editing mode
nnh12 Nov 20, 2024
48724c9
Add missing text pagination to Missing filename ("less --help" for help)
nnh12 Nov 22, 2024
f10c4d1
Test 'Tab' command working
nnh12 Nov 22, 2024
8b7049d
Prelimary key word short cut to Quit
nnh12 Nov 23, 2024
1fd2b54
Fix clippy error messages with string format error
nnh12 Nov 25, 2024
286ace5
Convert 'str' to String
nnh12 Nov 25, 2024
26bf332
Handle none case with warning
nnh12 Nov 25, 2024
7661174
Keycode 'Q' to leave out of text
nnh12 Nov 25, 2024
bebf802
Remove LineSlice struct for now
nnh12 Nov 25, 2024
1230e77
Remove 'Terminal' instantiation
nnh12 Nov 25, 2024
b69d78e
Restart fresh terminal instance upon quiting
nnh12 Nov 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions applications/less/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ path = "../../kernel/app_io"
[dependencies.stdio]
path = "../../libs/stdio"

[dependencies.shell]
path = "../shell"


[dependencies.log]
version = "0.4.8"

Expand Down
Loading