Skip to content

Update display after setting column option#1384

Closed
paulwkc wants to merge 3 commits intojonas:masterfrom
paulwkc:updt_disp_for_colopt
Closed

Update display after setting column option#1384
paulwkc wants to merge 3 commits intojonas:masterfrom
paulwkc:updt_disp_for_colopt

Conversation

@paulwkc
Copy link
Copy Markdown
Contributor

@paulwkc paulwkc commented Jun 3, 2025

This resolves issue that display is not updated after updating column option value like
:set main-view-date-use-author = yes

Cause:

view->columns are not visited after executing set command in prompt, so the flags variable
is not set and display is not updated.

Solution:

  1. Find the column option from view->columns by matching with prefix like
    date-use-author for main-view-date-use-author
  2. If option is found (toggle pointer) and flags (toggle->flags) are set, update the display

paulwkc added 3 commits May 30, 2025 23:14
This resolves issue that display is not updated after
updating column option value like
    :set main-view-date-use-author = yes
koutcher pushed a commit that referenced this pull request Jun 4, 2025
This resolves issue that display is not updated after
updating column option value like
    :set main-view-date-use-author = yes

[tk: refactoring and fixed only view column options are prefixed]
@paulwkc paulwkc closed this Jun 5, 2025
@paulwkc paulwkc deleted the updt_disp_for_colopt branch June 5, 2025 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant