heed: Add exit by ESC #345

Open
igorsh wants to merge 3 commits from igorsh/kolibrios:heed-exit-on-esc into main
Contributor

Added exit on Esc key

Added exit on Esc key
igorsh added 1 commit 2026-02-24 18:11:57 +00:00
heed: Add exit by ESC
All checks were successful
Build system / Check kernel codestyle (pull_request) Successful in 30s
Build system / Build (pull_request) Successful in 16m38s
815d81f936
Doczom approved these changes 2026-02-28 17:28:33 +00:00
mxlgv requested changes 2026-02-28 19:17:57 +00:00
Dismissed
@@ -2701,3 +2701,2 @@
ESC:
btr [flags],8
jmp red
bt [flags], 8
Owner

Doesn't btr already store a bit in the CF flag?

Doesn't `btr` already store a bit in the CF flag?
mxlgv marked this conversation as resolved
igorsh added 1 commit 2026-03-01 17:11:50 +00:00
heed: Simplify ESC code
All checks were successful
Build system / Check kernel codestyle (pull_request) Successful in 23s
Build system / Build (pull_request) Successful in 16m44s
0000458f65
mxlgv requested changes 2026-03-02 17:31:12 +00:00
Dismissed
mxlgv left a comment
Owner

I didn't realize at first that these were changes to the hex editor. I'm not sure that exiting the editor using ESC is necessary (I would like to know your opinion @Doczom @Burer @dunkaist). In addition, the program has a help window and you did not enter information about ESC there. In addition, I think it is necessary to increment the version.

I didn't realize at first that these were changes to the hex editor. I'm not sure that exiting the editor using ESC is necessary (I would like to know your opinion @Doczom @Burer @dunkaist). In addition, the program has a help window and you did not enter information about ESC there. In addition, I think it is necessary to increment the version.
mxlgv added the Category/ApplicationsFASM
Kind
Feature
Priority
Low
labels 2026-03-02 17:33:44 +00:00
Author
Contributor

I'm not sure that exiting the editor using ESC is necessary

Heed is the file viewer for KFM. I think it should work just like in Total Commander: F3 to view, Escape to close.

> I'm not sure that exiting the editor using ESC is necessary Heed is the file viewer for KFM. I think it should work just like in Total Commander: F3 to view, Escape to close.
Owner

Я думаю что данный функционал не будет лишним. Единственное, то необходимо бы добавить проверку на сохранения изменений на момент выхода из приложения.

Я думаю что данный функционал не будет лишним. Единственное, то необходимо бы добавить проверку на сохранения изменений на момент выхода из приложения.
Owner

Is it possible to make it dual-mode?

If you run it from KFM, it should work as Doczom said.

If you run it as a separate program, don't close it with Esc.

Is it possible to make it dual-mode? If you run it from KFM, it should work as Doczom said. If you run it as a separate program, don't close it with Esc.
Owner

Я думаю что данный функционал не будет лишним. Единственное, то необходимо бы добавить проверку на сохранения изменений на момент выхода из приложения.

@Doczom I'm not sure that there are any intermediate changes there at all

> Я думаю что данный функционал не будет лишним. Единственное, то необходимо бы добавить проверку на сохранения изменений на момент выхода из приложения. @Doczom I'm not sure that there are any intermediate changes there at all
mxlgv approved these changes 2026-03-07 19:53:31 +00:00
Dismissed
mxlgv added the
PR
Ready to merge
label 2026-03-07 19:53:43 +00:00
mxlgv removed the
PR
Ready to merge
label 2026-03-07 20:52:37 +00:00
mxlgv requested changes 2026-03-07 20:53:18 +00:00
mxlgv left a comment
Owner

If you plan to implement this, then you need to fix the help window

If you plan to implement this, then you need to fix the help window
igorsh added 1 commit 2026-03-08 05:03:22 +00:00
heed: Refactor help window (ESC)
All checks were successful
Build system / Check kernel codestyle (pull_request) Successful in 1m8s
Build system / Build (pull_request) Successful in 17m50s
9b1de0b705
All checks were successful
Build system / Check kernel codestyle (pull_request) Successful in 1m8s
Required
Details
Build system / Build (pull_request) Successful in 17m50s
Required
Details
This pull request doesn't have enough required approvals yet. 0 of 2 official approvals granted.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u heed-exit-on-esc:igorsh-heed-exit-on-esc
git checkout igorsh-heed-exit-on-esc
Sign in to join this conversation.
No Reviewers
4 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: KolibriOS/kolibrios#345