summaryrefslogtreecommitdiff
path: root/UViewer.pas
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@redhat.com>2025-11-28 22:47:50 +0100
committerTomas Bzatek <tbzatek@redhat.com>2025-11-28 22:47:50 +0100
commit1f66d0a599568971adc708d70ee9777259669fa9 (patch)
treeb0d7051fe643c3150c8cf4cfd494e00e3c71a441 /UViewer.pas
parentde08d64c9c42fd6ae02f3cfe06332fcbbc82234f (diff)
downloadtuxcmd-1f66d0a599568971adc708d70ee9777259669fa9.tar.xz
Fix GDK keysymsgtk3_port
Diffstat (limited to 'UViewer.pas')
-rw-r--r--UViewer.pas6
1 files changed, 3 insertions, 3 deletions
diff --git a/UViewer.pas b/UViewer.pas
index 4c37af2..0c20b96 100644
--- a/UViewer.pas
+++ b/UViewer.pas
@@ -252,18 +252,18 @@ begin
smooth_scroll(hadj, x, False);
Accept := False;
end;
- GDK_KEY_W: if (Shift = []) then begin
+ GDK_KEY_W, GDK_KEY_w_: if (Shift = []) then begin
if TextView.WrapMode = wmWrapNone then TextView.WrapMode := wmWrapWord
else TextView.WrapMode := wmWrapNone;
Accept := False;
end;
// GDK_C, GDK_Capital_C, GDK_Insert: if (ssCtrl in Shift) then Accept := True;
- GDK_KEY_S: if (Shift = []) then begin
+ GDK_KEY_S, GDK_KEY_s_: if (Shift = []) then begin
ConfViewerMonospaceFont := True;
ApplyFont;
Accept := False;
end;
- GDK_KEY_A: if (Shift = []) then begin
+ GDK_KEY_A, GDK_KEY_a_: if (Shift = []) then begin
ConfViewerMonospaceFont := False;
ApplyFont;
Accept := False;