diff --git a/.gitignore b/.gitignore index 0954cba015..90b9a5faf4 100644 --- a/.gitignore +++ b/.gitignore @@ -48,6 +48,9 @@ sandbox/** # Linux/KDE .directory +# Python virtual environment +.venv + # debian: dpkg-buildpackage intermediates debian/files debian/tmp/** @@ -60,4 +63,4 @@ install-stamp src/contour/ui/RequestPermission.qml src/contour/ui/Terminal.qml -src/contour/ui/main.qml +src/contour/ui/main.qml \ No newline at end of file diff --git a/docs/configuration/profiles.md b/docs/configuration/profiles.md index 220f314425..579e03cb02 100644 --- a/docs/configuration/profiles.md +++ b/docs/configuration/profiles.md @@ -434,15 +434,20 @@ profiles: With this, the terminal will use the color scheme as specified in `dark` when OS dark mode is on, and `light`'s color scheme otherwise. - + + ### `hyperlink_decoration:` section in the configuration file allows you to configure the styling and colorization of hyperlinks when they are displayed in the terminal and when they are hovered over by the cursor. + +Possible values: underline, dotted-underline, double-underline, curly-underline, dashed-underline, overline, crossed-out, framed, encircle (if implemented) + ``` yaml profiles: profile_name: hyperlink_decoration: normal: dotted - hover: underline + hover: underline + ``` ## Default profile diff --git a/src/contour/contour.yml b/src/contour/contour.yml index be56851d01..3e5346d824 100644 --- a/src/contour/contour.yml +++ b/src/contour/contour.yml @@ -34,6 +34,7 @@ renderer: # # This does not include direct mapped tiles (US-ASCII glyphs, # cursor shapes and decorations), if tile_direct_mapping is set to true). + # # # Value must be at least as large as grid cells available in the terminal view. # This value is automatically adjusted if too small. @@ -516,10 +517,15 @@ profiles: light: default dark: default + # Hyperlinks (via OSC-8) can be stylized and colorized on hover. + # Possible values: underline, dotted-underline, double-underline, curly-underline, + # dashed-underline, overline, crossed-out, framed, encircle (if implemented) hyperlink_decoration: normal: dotted hover: underline + + # Color Profiles # --------------